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)
1138ddc68f
Imported Upstream version 6.12.0.179
...
Former-commit-id: 0e3e22291208d34e6731637d718f4d12cca50e9e
2022-05-16 16:00:00 +00:00
Xamarin Public Jenkins (auto-signing)
3cbb9c7924
Imported Upstream version 6.12.0.140
...
Former-commit-id: ed640e59d63de60be89ee9bbe5a6b63afcf639f5
2021-04-30 08:47:39 +00:00
Xamarin Public Jenkins (auto-signing)
0b380204a4
Imported Upstream version 6.12.0.86
...
Former-commit-id: 7a84ce7d08c42c458ac8e74b27186ca863315d79
2020-07-10 08:44:59 +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
Xamarin Public Jenkins (auto-signing)
2ad2b699d6
Imported Upstream version 6.8.0.85
...
Former-commit-id: 4d082389a087ae772e72065f310eb8acb3432852
2020-01-02 08:39:36 +00:00
Xamarin Public Jenkins (auto-signing)
f0b8def9a1
Imported Upstream version 6.8.0.82
...
Former-commit-id: 7e63bf6e0646194a7ccc6e2356266bef05ce51bb
2019-12-20 08:48:16 +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)
47f3dfe12d
Imported Upstream version 6.6.0.132
...
Former-commit-id: 64f4ea15d36c33c867c5d282bc4b922c626a7199
2019-10-22 09:05:04 +00:00
Xamarin Public Jenkins (auto-signing)
159f424ee6
Imported Upstream version 6.6.0.124
...
Former-commit-id: 4972203499aaaca002bdc1753d2aa65dc5f58e09
2019-10-12 09:01:41 +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)
ebea04ba12
Imported Upstream version 6.4.0.193
...
Former-commit-id: 669c464b349fb91fcfd7d83fca295c5ec71fa610
2019-09-12 08:55:11 +00:00
Xamarin Public Jenkins (auto-signing)
4730215017
Imported Upstream version 6.4.0.186
...
Former-commit-id: 710edcfe8c8328382163d2ff94143b3f789a6309
2019-08-30 08:39:49 +00:00
Xamarin Public Jenkins (auto-signing)
94da8f9655
Imported Upstream version 6.4.0.173
...
Former-commit-id: 1fca76369cd4eee853c2b08d929399851f84c879
2019-08-21 08:39:26 +00:00
Xamarin Public Jenkins (auto-signing)
0f5eeea818
Imported Upstream version 6.4.0.154
...
Former-commit-id: d9008e108e6ce36e3e1c6643eb17a9257a81f110
2019-08-07 08:39:10 +00:00
Xamarin Public Jenkins (auto-signing)
354a7ffa75
Imported Upstream version 6.4.0.152
...
Former-commit-id: 9581b2879201a39de16b05882d3ad003b4a23a64
2019-08-06 08:46:27 +00:00
Xamarin Public Jenkins (auto-signing)
345224e2bc
Imported Upstream version 6.4.0.150
...
Former-commit-id: 2cf3acd45014a53dda66c13f7378a88695d3c93e
2019-08-02 08:37:10 +00:00
Xamarin Public Jenkins (auto-signing)
ef583813eb
Imported Upstream version 6.4.0.137
...
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
2019-07-26 19:53:28 +00:00
Xamarin Public Jenkins (auto-signing)
76c6505a64
Imported Upstream version 6.0.0.293
...
Former-commit-id: c73c6d59ea27405c8ec2975fc933d2a9a447e603
2019-06-08 08:45:03 +00:00
Xamarin Public Jenkins (auto-signing)
fbb58b904f
Imported Upstream version 6.0.0.273
...
Former-commit-id: 9f1a238d9eaeb39fc1234b8e83567c1d4e99faf3
2019-05-30 08:38:38 +00:00
Xamarin Public Jenkins (auto-signing)
8f11a00d09
Imported Upstream version 6.0.0.265
...
Former-commit-id: e0ef9e54469db4958572c478db7f39198da10cad
2019-05-28 08:47:15 +00:00
Xamarin Public Jenkins (auto-signing)
65ce5c75f1
Imported Upstream version 6.0.0.246
...
Former-commit-id: 241b0eee0d9f22ae63312d981dd04646ce8514ed
2019-05-18 08:35:58 +00:00
Xamarin Public Jenkins (auto-signing)
1efc83b696
Imported Upstream version 6.0.0.241
...
Former-commit-id: 6bb91ae3d8008b2e06beaf4212ad32102b270e2a
2019-05-13 08:34:00 +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)
4b878ebc4f
Imported Upstream version 5.20.0.240
...
Former-commit-id: 365890657f426c6c7acc700e3b568dbb83da13bf
2019-03-07 08:18:56 +00:00
Xamarin Public Jenkins (auto-signing)
0e3beccd62
Imported Upstream version 5.20.0.224
...
Former-commit-id: 3b46e316232a5ecf052af95edd850a2afdb8e53c
2019-02-23 08:31:11 +00:00
Xamarin Public Jenkins (auto-signing)
219eec173f
Imported Upstream version 5.20.0.208
...
Former-commit-id: 8fbf7dae6cd486bffb1fa6a52020e8eb23c570b1
2019-02-13 08:25:33 +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)
279aa8f685
Imported Upstream version 5.18.0.246
...
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
2019-01-23 08:21:40 +00:00
Xamarin Public Jenkins (auto-signing)
8e12397d70
Imported Upstream version 5.18.0.205
...
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00
Xamarin Public Jenkins (auto-signing)
30f61da7aa
Imported Upstream version 5.18.0.191
...
Former-commit-id: 5001a414f0011a7347fc9a27cbb49980529fdeae
2018-11-02 08:23:53 +00:00
Xamarin Public Jenkins (auto-signing)
b084638f15
Imported Upstream version 5.18.0.167
...
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
2018-10-20 08:25:10 +00:00
Xamarin Public Jenkins (auto-signing)
e19d552987
Imported Upstream version 5.18.0.161
...
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +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)
4d0627f707
Imported Upstream version 5.16.0.174
...
Former-commit-id: e2ea24be26742a02d1739c3bc9240e899a6e80dd
2018-09-28 08:21:44 +00:00
Xamarin Public Jenkins (auto-signing)
0ccc9f0ce1
Imported Upstream version 5.16.0.152
...
Former-commit-id: b9a8a4634edd84ed92dc74f4022c4364731da78c
2018-09-08 08:32:49 +00:00
Xamarin Public Jenkins (auto-signing)
47a1b3e592
Imported Upstream version 5.16.0.144
...
Former-commit-id: 2b9e8926e7df56dfea2d6991a64c8f5129cfffcb
2018-09-05 08:26:42 +00:00
Xamarin Public Jenkins (auto-signing)
526ff2cf78
Imported Upstream version 5.16.0.135
...
Former-commit-id: 28d9e60fa3ef68cbdb55d4aeeb9e18679dc66b69
2018-09-01 08:21:58 +00:00
Xamarin Public Jenkins (auto-signing)
29319da080
Imported Upstream version 5.16.0.127
...
Former-commit-id: 1babec92ec0b34d7fed163047451926d29f91441
2018-08-30 08:22:09 +00:00
Xamarin Public Jenkins (auto-signing)
71bd4a382b
Imported Upstream version 5.16.0.119
...
Former-commit-id: 06a3354e486c4ac75df6d25c7e1200b274f5da1f
2018-08-23 08:19:07 +00:00
Xamarin Public Jenkins (auto-signing)
4a084bd265
Imported Upstream version 5.16.0.117
...
Former-commit-id: 44f8fd0c4b66c828855b08eefcc53d59832c25a6
2018-08-21 08:34:26 +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)
01c08d50e8
Imported Upstream version 5.14.0.148
...
Former-commit-id: ccfce85f9487e4135d045a812192413d573f33be
2018-06-28 08:19:18 +00:00
Xamarin Public Jenkins (auto-signing)
f87a49ea3f
Imported Upstream version 5.14.0.141
...
Former-commit-id: 3b53584824e57e63d7af009d31bd6efb72155c45
2018-06-23 17:06:07 +00:00
Xamarin Public Jenkins (auto-signing)
f4dfa680ce
Imported Upstream version 5.14.0.116
...
Former-commit-id: a1060d06ad743429ccc16477092659123892e701
2018-06-01 08:44:40 +00:00
Xamarin Public Jenkins (auto-signing)
300ff421ef
Imported Upstream version 5.14.0.93
...
Former-commit-id: dda284b8de49fb65cd1a403db6a592e6c68a5e8c
2018-05-23 09:42:45 +00:00
Xamarin Public Jenkins (auto-signing)
6ee8b1dcbb
Imported Upstream version 5.14.0.81
...
Former-commit-id: 524064923445f6b5343d21d0453dbda860e08517
2018-05-11 08:40:56 +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