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:
3878
external/llvm-project/clang/lib/Lex/Lexer.cpp
vendored
Normal file
3878
external/llvm-project/clang/lib/Lex/Lexer.cpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
8bd4ab0ff9caf2b74e0e7ac76033f8dac1733027
|
2896
external/llvm-project/clang/lib/Lex/PPDirectives.cpp
vendored
Normal file
2896
external/llvm-project/clang/lib/Lex/PPDirectives.cpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
ca3e70fd1060ef96ecacf300dfb68a60f2f6456c
|
Reference in New Issue
Block a user