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
commit05797fd8cf884bb680540dfc188f36836a215c9f (patch)
treed64966acd9d47037bc8dae1ab9e2e1c66c9d526d /debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java
parent4467eb66a4c8a776e35e9644960eba699dc85e6f (diff)
downloadopen-iov-05797fd8cf884bb680540dfc188f36836a215c9f.tar.gz
open-iov-05797fd8cf884bb680540dfc188f36836a215c9f.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;
}