14 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)
d7ffa4a239 Imported Upstream version 6.12.0.101
Former-commit-id: 86e5d3c0859336c41f589d3bcf96fcc6ecd603cd
2020-10-03 08:40:42 +00:00
Xamarin Public Jenkins (auto-signing)
9050bbfc26 Imported Upstream version 6.6.0.108
Former-commit-id: 00c6fff7917ab7dddc0c67044b046850c2283096
2019-10-04 09:01:11 +00:00
Xamarin Public Jenkins (auto-signing)
22441cc9fb Imported Upstream version 6.4.0.187
Former-commit-id: 5d639ac69dc1ce3fc1d4431cd659bacef06fb55a
2019-08-30 19:41:02 +00:00
Xamarin Public Jenkins (auto-signing)
536cd135cc Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
2017-08-21 15:34:15 +00:00
Xamarin Public Jenkins (auto-signing)
966bba02bb Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
2017-06-07 13:16:24 +00:00
Xamarin Public Jenkins (auto-signing)
94b2861243 Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
2016-11-10 13:04:39 +00:00
Xamarin Public Jenkins (auto-signing)
e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00
Xamarin Public Jenkins
ea5caba957 Imported Upstream version 4.2.1.36
Former-commit-id: f3008ca867fe7e4b7ae9b9a8844c0ad5798925a9
2015-11-10 14:54:41 +00:00
Xamarin Public Jenkins
6992685b86 Imported Upstream version 4.2.0.179
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
2015-11-10 14:54:39 +00:00
Jo Shields
3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00
Jo Shields
8b9b85e7f5 Imported Upstream version 3.10.0
Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
2014-10-04 11:27:48 +01:00
Jo Shields
fe777c5c82 Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
2014-09-04 09:07:35 +01:00
Jo Shields
a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00