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/DebugInfo/PDB/Inputs/big-read.pdb
vendored
Normal file
BIN
external/llvm-project/llvm/test/DebugInfo/PDB/Inputs/big-read.pdb
vendored
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
9d9086874e5f94e9b0202df916e044a1665c0a0a
|
26
external/llvm-project/llvm/test/DebugInfo/PDB/Inputs/longname-truncation.yaml
vendored
Normal file
26
external/llvm-project/llvm/test/DebugInfo/PDB/Inputs/longname-truncation.yaml
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
3d6639edc581d6fe531b6866a7b1c7f0f5922fba
|
BIN
external/llvm-project/llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb
vendored
Normal file
BIN
external/llvm-project/llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb
vendored
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
||||
9272f318258bc06dc115475b9e0d4188edd75331
|
Reference in New Issue
Block a user