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-cov/Inputs/binary-formats.v1.linux64l
vendored
Executable file
BIN
external/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.v1.linux64l
vendored
Executable file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
319322d747f282483d206898392860a59af25787
|
BIN
external/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux64l
vendored
Executable file
BIN
external/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux64l
vendored
Executable file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
9c6835cdff1ba9537f01cc6a7b2ddfc09523b6cd
|
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
|
BIN
external/llvm-project/llvm/test/tools/llvm-symbolizer/pdb/Inputs/test.pdb
vendored
Normal file
BIN
external/llvm-project/llvm/test/tools/llvm-symbolizer/pdb/Inputs/test.pdb
vendored
Normal file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
9d9086874e5f94e9b0202df916e044a1665c0a0a
|
BIN
external/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/elf64-badentrysizes.bin
vendored
Executable file
BIN
external/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/elf64-badentrysizes.bin
vendored
Executable file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
702ea1484df1dc64f75660db4b87e265c6f2cdf2
|
BIN
external/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/elf64-example.bin
vendored
Executable file
BIN
external/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/elf64-example.bin
vendored
Executable file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
a6e6d3d64681f34a72bf59ad0eef70be46b01f20
|
BIN
external/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/elf64-objcopied-instrmap.bin
vendored
Executable file
BIN
external/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/elf64-objcopied-instrmap.bin
vendored
Executable file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
4e1f982e2673dddfdd0c47a50ef2984d447b3cdc
|
BIN
external/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/elf64-sample-o2.bin
vendored
Executable file
BIN
external/llvm-project/llvm/test/tools/llvm-xray/X86/Inputs/elf64-sample-o2.bin
vendored
Executable file
Binary file not shown.
@@ -1 +0,0 @@
|
||||
fe31f9514d37e66e313bd837ff1e30df0c258cd8
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user