summaryrefslogtreecommitdiffstats
path: root/userspace/cuda/570.144/scripts/ghidra_analyze.sh
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/cuda/570.144/scripts/ghidra_analyze.sh')
-rwxr-xr-xuserspace/cuda/570.144/scripts/ghidra_analyze.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/userspace/cuda/570.144/scripts/ghidra_analyze.sh b/userspace/cuda/570.144/scripts/ghidra_analyze.sh
index b844300..eb8422b 100755
--- a/userspace/cuda/570.144/scripts/ghidra_analyze.sh
+++ b/userspace/cuda/570.144/scripts/ghidra_analyze.sh
@@ -1,6 +1,21 @@
#!/bin/bash
# SPDX-License-Identifier: BSD-3-Clause
#
+# ###########################################################################
+# # WARNING: DEPRECATED - DO NOT USE FOR NEW ANALYSIS (kept for history). #
+# # #
+# # Two bugs make its output unusable: #
+# # 1. It passes FILE virtual addresses to Ghidra, which loads these #
+# # binaries at image base 0x100000. Every address is 0x100000 too low, #
+# # so the decompiled "functions" are the wrong ones. #
+# # 2. `-analysisTimeoutPerFile 0` does not mean "no timeout" in this #
+# # Ghidra build: it aborts auto-analysis immediately, producing an #
+# # analysed-looking project with no analysis at all. #
+# # #
+# # Replacement: tools/ghidra_full_analysis.sh (plus #
+# # tools/ghidra/ConfigureAnalysis.java). #
+# ###########################################################################
+#
# ghidra_analyze.sh - import a library into a Ghidra project and run the full
# auto-analysis once. The project is kept, so later decompilations are cheap:
#