filebytes
filebytes copied to clipboard
Progressive reading of Mach-O fat binaries
The MachO constructor reads the whole file into memory, whether it's fat or not. In my usage scenarios, only one architecture slice is needed at a time. Reading the whole thing wastes I/O and memory.