Skip to content

Commit

Permalink
[import label] change _imports suffix with import_ prefix (#4)
Browse files Browse the repository at this point in the history
* [import label] change `_imports` suffix with `import_` prefix

Allows to keep all the labeled imports together on the left panel due to alphabetic ordering

* Update ghidra_irxAnalyzer.java

* Patch 3 (#3)

* [import label] change `_imports` suffix with `import_` prefix

Allows to keep all the labeled imports together on the left panel due to alphabetic ordering

* Update ghidra_irxAnalyzer.java

* Update ghidra_irxAnalyzer.java
  • Loading branch information
israpps authored Apr 25, 2024
1 parent f4556b6 commit b246f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ghidra_irx/ghidra_irxAnalyzer.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public boolean added(Program program, AddressSetView set, TaskMonitor monitor, M
String nameString = new String(namebytes).split("\0")[0];

try {
tbl.createLabel(addr, nameString.concat("_imports"), SourceType.ANALYSIS);
tbl.createLabel(addr, "imports_" + nameString, SourceType.ANALYSIS);
} catch (InvalidInputException e) {
return false;
}
Expand Down

0 comments on commit b246f4b

Please sign in to comment.