4 Commits

Author SHA1 Message Date
Pat Tullmann
0cb742dafb binfmt-detector-cli: rewrite to support PE32+ binaries (#38)
Rewrite with hard-coded offsets into the PE file format to discern
if a binary is PE32 or PE32+, and then to determine if it contains
a "CLR Data Directory" entry that looks valid.

Tested with PE32 and PE32+ compiled Mono binaries, PE32 and PE32+ native
binaries, and a random assortment of garbage files.

Former-commit-id: 9e7ac86ec84f653a2f79b87183efd5b0ebda001b
2023-10-16 20:16:47 +02:00
Xamarin Public Jenkins (auto-signing)
97681d1ee7 Imported Upstream version 6.12.0.199
Former-commit-id: 626eae711641dcfc2956dba60815572e53540dd5
2023-06-14 16:00:04 +00:00
Xamarin Public Jenkins (auto-signing)
7d4706c3d7 Imported Upstream version 6.12.0.98
Former-commit-id: 066e1c5ebb0cc420bd293e60a01325420779fdd1
2020-09-12 08:45:37 +00:00
Xamarin Public Jenkins (auto-signing)
468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00