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/MarkGreenEyeHits.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'debug/risc-v-gsp-rm-vm/ghidra/MarkGreenEyeHits.java') diff --git a/debug/risc-v-gsp-rm-vm/ghidra/MarkGreenEyeHits.java b/debug/risc-v-gsp-rm-vm/ghidra/MarkGreenEyeHits.java index b140ddd..bff3dfd 100644 --- a/debug/risc-v-gsp-rm-vm/ghidra/MarkGreenEyeHits.java +++ b/debug/risc-v-gsp-rm-vm/ghidra/MarkGreenEyeHits.java @@ -1,4 +1,4 @@ -// Annotate green-eye runtime hits in the current Ghidra program. +// Annotate risc-v-gsp-rm-debugger runtime hits in the current Ghidra program. // // Input: the TSV produced by greeneye.ghidra.export_hits(): // addr hits symbol annotation @@ -9,10 +9,10 @@ // -postScript MarkGreenEyeHits.java /abs/path/greeneye_hits.tsv // // For each address it adds a plate comment on the containing function -// ("green-eye: N hits") and a bookmark at the exact address. +// ("risc-v-gsp-rm-debugger: N hits") and a bookmark at the exact address. // //@category OpenIOV -//@menupath Tools.OpenIOV.Mark green-eye hits +//@menupath Tools.OpenIOV.Mark risc-v-gsp-rm-debugger hits import java.io.BufferedReader; import java.io.File; @@ -62,7 +62,7 @@ public class MarkGreenEyeHits extends GhidraScript { Address address = toAddr(addrValue); Function function = getFunctionContaining(address); if (function != null) { - String note = "green-eye: " + hits + " hit(s)" + String note = "risc-v-gsp-rm-debugger: " + hits + " hit(s)" + (symbol.isEmpty() ? "" : " (" + symbol + ")"); String existing = function.getComment(); function.setComment(existing == null ? note : existing + "\n" + note); @@ -70,10 +70,10 @@ public class MarkGreenEyeHits extends GhidraScript { } else { missed++; } - createBookmark(address, "Note", "green-eye"); + createBookmark(address, "Note", "risc-v-gsp-rm-debugger"); } } - println("green-eye: annotated " + marked + " functions (" + missed + println("risc-v-gsp-rm-debugger: annotated " + marked + " functions (" + missed + " addresses outside any function) from " + in.getAbsolutePath()); } } -- cgit v1.2.3