summaryrefslogtreecommitdiffstats
path: root/debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-02 11:44:31 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-02 11:44:31 -0400
commit1c99bfbeffff04529f6f669601fdf835a73778da (patch)
tree5867bab46e5848541df36c703f6fd8d6d0256e54 /debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java
parent2fd653044127a665e4677a2cdfb58120d7b3e16b (diff)
downloadopen-iov-1c99bfbeffff04529f6f669601fdf835a73778da.tar.gz
open-iov-1c99bfbeffff04529f6f669601fdf835a73778da.zip
rename (cosmetic): green-eye -> risc-v-gsp-rm-debugger in user-facing names, docs, CLI, launcher and CI workflow; internal greeneye package/module identifiers unchanged (includes in-flight greeneye module edits present in the tree)
Diffstat (limited to 'debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java')
-rw-r--r--debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java b/debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java
index abeee82..b0a6628 100644
--- a/debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java
+++ b/debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java
@@ -1,7 +1,7 @@
-// GreenEyeControl - drive a live green-eye session from Ghidra.
+// GreenEyeControl - drive a live risc-v-gsp-rm-debugger session from Ghidra.
//
-// The script connects to the green-eye JSON-lines bridge (start it with
-// `./greeneye.sh ghidra [--kernel <elf>]`), and exposes the operations a
+// The script connects to the risc-v-gsp-rm-debugger JSON-lines bridge (start it with
+// `./risc-v-gsp-rm-debugger.sh ghidra [--kernel <elf>]`), and exposes the operations a
// reverse engineer needs while reading the decompiler:
//
// ping() - check the bridge
@@ -59,14 +59,14 @@ public class GreenEyeControl extends GhidraScript {
int port = Integer.parseInt(args[0]);
try {
connect(port);
- println("green-eye: " + info());
+ println("risc-v-gsp-rm-debugger: " + info());
String target = args.length > 1 ? args[1] : null;
if (target == null && currentAddress != null) {
target = "0x" + Long.toHexString(currentAddress.getOffset());
}
if (target != null) {
- println("green-eye run_until " + target + " -> " + runUntil(target));
- println("green-eye hits: " + listHits());
+ println("risc-v-gsp-rm-debugger run_until " + target + " -> " + runUntil(target));
+ println("risc-v-gsp-rm-debugger hits: " + listHits());
}
} finally {
disconnect();
@@ -95,11 +95,11 @@ public class GreenEyeControl extends GhidraScript {
writer.println(request);
String response = reader.readLine();
if (response == null) {
- throw new Exception("green-eye bridge closed the connection");
+ throw new Exception("risc-v-gsp-rm-debugger bridge closed the connection");
}
Matcher ok = OK.matcher(response);
if (ok.find() && "false".equals(ok.group(1))) {
- throw new Exception("green-eye error: " + response);
+ throw new Exception("risc-v-gsp-rm-debugger error: " + response);
}
return response;
}