You've already forked linux-packaging-mono
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
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
c9f4947bbba7c813be863ff93adbcdf6fa2fceec
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
cbd887143cb07bf57728fc7be45a616f99bda109
|
||||
16643
mcs/class/corlib/Documentation/en/System.Reflection.Emit/OpCodes.xml
Normal file
16643
mcs/class/corlib/Documentation/en/System.Reflection.Emit/OpCodes.xml
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
fc2ea7c71fa02c10ba751cba1b3831f38bacc442
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
0d146de79bc8e9ee69547fd68db34c7e8baa3eef
|
||||
Reference in New Issue
Block a user