From 1c99bfbeffff04529f6f669601fdf835a73778da Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Fri, 2 Oct 2026 11:44:31 -0400 Subject: 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) --- debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'debug/risc-v-gsp-rm-vm/ghidra/GreenEyeControl.java') 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 ]`), 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 ]`), 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; } -- cgit v1.2.3