From 392bd9fcc88f35892d0d96fddbbe158f851810bf Mon Sep 17 00:00:00 2001 From: ghizard <50744617+ghizard@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:15:19 -0500 Subject: [PATCH] GP-0 - fix bug introduced into MicrosoftDemangler by GP-5101 --- .../ghidra/app/util/demangler/microsoft/MicrosoftDemangler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Features/MicrosoftDemangler/src/main/java/ghidra/app/util/demangler/microsoft/MicrosoftDemangler.java b/Ghidra/Features/MicrosoftDemangler/src/main/java/ghidra/app/util/demangler/microsoft/MicrosoftDemangler.java index 0cd7171070..5e1daa680e 100644 --- a/Ghidra/Features/MicrosoftDemangler/src/main/java/ghidra/app/util/demangler/microsoft/MicrosoftDemangler.java +++ b/Ghidra/Features/MicrosoftDemangler/src/main/java/ghidra/app/util/demangler/microsoft/MicrosoftDemangler.java @@ -112,7 +112,7 @@ public class MicrosoftDemangler implements Demangler { if (mdType == null) { return null; } - String originalDemangled = item.toString(); + String originalDemangled = mdType.toString(); demangler.getOutputOptions().setUseEncodedAnonymousNamespace(true); dataType = MicrosoftDemanglerUtil.convertToDemangledDataType(mdType, mangled, originalDemangled);