From 93c7ffa9596825e6e15e7d43ca5cc3e88bfb87b1 Mon Sep 17 00:00:00 2001 From: ghidra007 Date: Wed, 23 Sep 2026 21:27:06 +0000 Subject: [PATCH] GP-0 updated check for Gnu demangler check to not rely on option internals, which were changed to remove the previously checked for string, but instead the Options class name. This fixed the four breaking RTTI tests. --- .../ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java index 2e125cc115..f75ebdc309 100644 --- a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java +++ b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java @@ -3069,7 +3069,7 @@ public class RTTIGccClassRecoverer extends RTTIClassRecoverer { // Currently no good way to do this since this is in Decompiler package and GnuDemangler // is in its own package. Once no longer a script but an analyzer in Base, update to // do !(options instanceof GnuDemanglerOptions) - if (!options.toString().contains("gnu")) { + if (!options.getClass().getName().contains("Gnu")) { continue; }