From 6e685d13f7fe5d012f6b4a405bb4accc0114a74a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Israelson?= <57065102+israpps@users.noreply.github.com> Date: Wed, 24 Apr 2024 15:27:33 -0300 Subject: [PATCH] Update ghidra_irxAnalyzer.java --- src/main/java/ghidra_irx/ghidra_irxAnalyzer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/ghidra_irx/ghidra_irxAnalyzer.java b/src/main/java/ghidra_irx/ghidra_irxAnalyzer.java index 95bb670..975b348 100644 --- a/src/main/java/ghidra_irx/ghidra_irxAnalyzer.java +++ b/src/main/java/ghidra_irx/ghidra_irxAnalyzer.java @@ -90,9 +90,10 @@ public boolean added(Program program, AddressSetView set, TaskMonitor monitor, M } String nameString = new String(namebytes).split("\0")[0]; + nameString = "imports_" + nameString; try { - tbl.createLabel(addr, nameString.insert(0, "import_"), SourceType.ANALYSIS); + tbl.createLabel(addr, nameString, SourceType.ANALYSIS); } catch (InvalidInputException e) { return false; }