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:
3509
external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
vendored
Normal file
3509
external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
36027dde04325fe3274373fcef9cff7ad4a1f50d
|
6259
external/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
vendored
Normal file
6259
external/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
e6941c9f6ed6b692ac9ee7827053e47e30c60313
|
Reference in New Issue
Block a user