diff options
| author | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-02 11:44:31 -0400 |
|---|---|---|
| committer | Arthur Hanson Rasmusson <arthur@vgpu.io> | 2026-10-02 11:44:31 -0400 |
| commit | 1c99bfbeffff04529f6f669601fdf835a73778da (patch) | |
| tree | 5867bab46e5848541df36c703f6fd8d6d0256e54 /debug/risc-v-gsp-rm-vm/ghidra/MarkGreenEyeHits.java | |
| parent | 2fd653044127a665e4677a2cdfb58120d7b3e16b (diff) | |
| download | open-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/MarkGreenEyeHits.java')
| -rw-r--r-- | debug/risc-v-gsp-rm-vm/ghidra/MarkGreenEyeHits.java | 12 |
1 files changed, 6 insertions, 6 deletions
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 <TAB> hits <TAB> symbol <TAB> 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()); } } |
