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:
BIN
external/llvm-project/llvm/test/tools/llvm-pdbdump/Inputs/ComplexPaddingTest.pdb
vendored
Normal file
BIN
external/llvm-project/llvm/test/tools/llvm-pdbdump/Inputs/ComplexPaddingTest.pdb
vendored
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
093276bb70816a200b7b7bfe6aa00a3ffc790c22
|
BIN
external/llvm-project/llvm/test/tools/llvm-pdbdump/Inputs/LoadAddressTest.pdb
vendored
Normal file
BIN
external/llvm-project/llvm/test/tools/llvm-pdbdump/Inputs/LoadAddressTest.pdb
vendored
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
e302e9bf3b61f436b429a74e81bdd5bda916ca61
|
BIN
external/llvm-project/llvm/test/tools/llvm-pdbdump/Inputs/SimplePaddingTest.pdb
vendored
Normal file
BIN
external/llvm-project/llvm/test/tools/llvm-pdbdump/Inputs/SimplePaddingTest.pdb
vendored
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
f19c00660a73bc4a09deacfe9499c4dbb9388ff8
|
Reference in New Issue
Block a user