[arch-projects] [namcap] FS#34300 False positive on Mach-O universal binary
3 Dec
2018
3 Dec
'18
12:31 p.m.
Hi, namcap does not distinguish java class files from Mach-O files since both use the same byte magic CAFEBABE. See FS#34300 Implementing this would only need a test if the value of the byte at offset 7 is greater than 0x30. See: https://github.com/file/file/blob/master/magic/Magdir/cafebabe I think having Mach-O files in a package is a _very_ rare case. But on the other hand implementing would be no big deal. Would a patch for this be accepted, or is it not worth? Regards, Michael
2141
Age (days ago)
2141
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Straube