summaryrefslogtreecommitdiffstats
path: root/userspace/cuda/570.144/scripts/ghidra_decompile_project.sh
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/cuda/570.144/scripts/ghidra_decompile_project.sh')
-rwxr-xr-xuserspace/cuda/570.144/scripts/ghidra_decompile_project.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/userspace/cuda/570.144/scripts/ghidra_decompile_project.sh b/userspace/cuda/570.144/scripts/ghidra_decompile_project.sh
index 66d7c90..b44b2b2 100755
--- a/userspace/cuda/570.144/scripts/ghidra_decompile_project.sh
+++ b/userspace/cuda/570.144/scripts/ghidra_decompile_project.sh
@@ -1,6 +1,19 @@
#!/bin/bash
# SPDX-License-Identifier: BSD-3-Clause
#
+# ###########################################################################
+# # WARNING: DEPRECATED - DO NOT USE FOR NEW ANALYSIS (kept for history). #
+# # #
+# # It passes a FILE virtual address straight to 570.144/ghidra/ #
+# # DecompileAt.java, but Ghidra loads these binaries at image base #
+# # 0x100000: the script resolves (and decompiles) the function 0x100000 #
+# # bytes too low. It also depends on a project produced by the broken #
+# # ghidra_analyze.sh above. #
+# # #
+# # Replacement: tools/ghidra_decompile_at.sh, which translates the file #
+# # vaddr with tools/ghidra/DecompileAt.java (file-vaddr aware). #
+# ###########################################################################
+#
# ghidra_decompile_project.sh - decompile a function from an already-analyzed
# Ghidra project (run scripts/ghidra_analyze.sh once first). No re-import and
# no analysis, so this takes seconds.