Skip to content

Commit ea0a0eb

Browse files
committed
adds comment describing what architecture guessing currently does not handle
1 parent 2b9f9f7 commit ea0a0eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/ghidra/decompile-entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ ARCHITECTURE=""
131131
# "what compiler was used to compile the input binary", i.e., if a binary was
132132
# originally compiled with clang for linux, you'd still put default for
133133
# the variant string.
134+
#
135+
# Currently, this function is specific to ELF architecture detection, and covers
136+
# the bare basics of PE architecture detection.
137+
# todo(kaoudis) Future work should include more support for binary blob, and PE.
134138
function detect_processor {
135139
local file_output=$(file "$INPUT_FILE")
136140

0 commit comments

Comments
 (0)