27 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)
a0d6f2d6ec Imported Upstream version 6.12.0.122
Former-commit-id: d3ff4118f95cc6907059c6001e5157df8832a115
2021-02-22 16:53:32 +00:00
Xamarin Public Jenkins (auto-signing)
73ee7591e8 Imported Upstream version 6.8.0.73
Former-commit-id: d18deab1b47cfd3ad8cba82b3f37d00eec2170af
2019-12-10 18:00:56 +00:00
Xamarin Public Jenkins (auto-signing)
95fdb59ea6 Imported Upstream version 6.6.0.89
Former-commit-id: b39a328747c2f3414dc52e009fb6f0aa80ca2492
2019-09-24 08:53:40 +00:00
Xamarin Public Jenkins (auto-signing)
64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00
Xamarin Public Jenkins (auto-signing)
0510252385 Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
2019-02-04 20:11:37 +00:00
Xamarin Public Jenkins (auto-signing)
37fbf886a3 Imported Upstream version 5.18.0.151
Former-commit-id: ffd6414cefbb5fbb0d9568fd124df49cf596b667
2018-10-18 08:28:44 +00:00
Xamarin Public Jenkins (auto-signing)
0abdbe5a7d Imported Upstream version 5.18.0.142
Former-commit-id: 7467d4b717762eeaf652d77f1486dd11ffb1ff1f
2018-10-09 08:20:59 +00:00
Xamarin Public Jenkins (auto-signing)
7d7f676260 Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
2018-08-07 15:19:03 +00:00
Xamarin Public Jenkins (auto-signing)
19234507ba Imported Upstream version 5.14.0.78
Former-commit-id: 3494343bcc9ddb42b36b82dd9ae7b69e85e0229f
2018-05-10 08:37:03 +00:00
Xamarin Public Jenkins (auto-signing)
8fc30896db Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
2018-04-24 09:31:23 +00:00
Xamarin Public Jenkins (auto-signing)
1cbf3fd7cf Imported Upstream version 5.10.0.125
Former-commit-id: 3fde85f97bfaf3bf8749c0767abce353f101b2d6
2018-02-17 19:56:16 +00:00
Xamarin Public Jenkins (auto-signing)
e46a49ecf1 Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
2018-01-24 17:04:36 +00:00
Xamarin Public Jenkins (auto-signing)
7d05485754 Imported Upstream version 5.8.0.22
Former-commit-id: df344e34b07851d296efb3e6604c8db42b6f7aa3
2017-10-19 20:04:20 +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)
5005e1465f Imported Upstream version 5.0.0.48
Former-commit-id: 820b1abb8b0084602f3170cd587a99c905e1dae5
2017-04-11 11:25:27 +00:00
Xamarin Public Jenkins (auto-signing)
6bdd276d05 Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
2017-04-10 11:41:01 +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 (auto-signing)
0b4a830db1 Imported Upstream version 4.4.2.4
Former-commit-id: 92904c9c5915c37244316e42ba99e7b934ed7ee2
2016-07-21 09:40:10 +00:00
Xamarin Public Jenkins
f3e3aab35a Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
2016-02-22 11:00:01 -05: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
181b81b4a4 Imported Upstream version 3.12.0
Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
2015-01-13 10:44:36 +00: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