summaryrefslogtreecommitdiffstats
path: root/userspace/cuda/570.144/ghidra/DecompileAt.java
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/cuda/570.144/ghidra/DecompileAt.java')
-rw-r--r--userspace/cuda/570.144/ghidra/DecompileAt.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/userspace/cuda/570.144/ghidra/DecompileAt.java b/userspace/cuda/570.144/ghidra/DecompileAt.java
index 5092ee9..f1572c7 100644
--- a/userspace/cuda/570.144/ghidra/DecompileAt.java
+++ b/userspace/cuda/570.144/ghidra/DecompileAt.java
@@ -1,5 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
//
+// ###########################################################################
+// # WARNING: DEPRECATED - DO NOT USE FOR NEW ANALYSIS (kept for history). #
+// # #
+// # It treats its argument as a Ghidra program address, but the analysis #
+// # convention here is FILE virtual addresses (libcuda+0x...) and Ghidra #
+// # loads these binaries at image base 0x100000. Called with a file vaddr #
+// # it decompiles the function 0x100000 bytes too low (the bug behind the #
+// # old `helper_453ef0.c` / `fn_0x481360.c` artifacts). #
+// # #
+// # Replacement: tools/ghidra/DecompileAt.java (adds the image base) used #
+// # through tools/ghidra_decompile_at.sh. #
+// ###########################################################################
+//
// DecompileAt.java - Ghidra post-script: decompile the function containing a
// given address (no auto-analysis required).
//