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/sancov/Inputs/test-linux_android_aarch64
vendored
Normal file
BIN
external/llvm-project/llvm/test/tools/sancov/Inputs/test-linux_android_aarch64
vendored
Normal file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
854459d69fea1d05f668bfe766c77b9955f7d3f2
|
BIN
external/llvm-project/llvm/test/tools/sancov/Inputs/test-linux_x86_64
vendored
Executable file
BIN
external/llvm-project/llvm/test/tools/sancov/Inputs/test-linux_x86_64
vendored
Executable file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
9ffac6f81b9d935988b2462b1edc86a94b5cbfc0
|
BIN
external/llvm-project/llvm/test/tools/sancov/Inputs/test-windows_x86_64
vendored
Normal file
BIN
external/llvm-project/llvm/test/tools/sancov/Inputs/test-windows_x86_64
vendored
Normal file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
3eaab93b4cfd7f52ed76c2a4f3585884be9031d8
|
Reference in New Issue
Block a user