An improved Mach-O file type detection for sys::IdentifyFileType()
This patch add supports for single architecture mach-o files (the current implementation only support Universal Binary), and solve the signature conflict between java class and Universal Binary magics.
Note that this function will always returned dynamic library for Universal Binaries (like the current implementation) because the binary type is not include in the file header.
MachOFile.diff (2.79 KB)
Woops, sorry, I miss a "type can be used uninitialized" warning.
MachoType.diff (993 Bytes)
Odd, your message doesn't verify.
The message that was sent was signed, that signature didn't validate with my signature checker. Could be my mail reader, could be the list software, could be something else.... just thought you'd like to know. Be curious if it validated for others, or if it's just me.
Mike: It's not just you. The message didn't validate for me as well. Of course, we're both using the same mail client (Mail on Mac OS X).