GP-5422 fix RTTIAnalyzer replace tick after just removed issue

This commit is contained in:
ghidra007 2025-02-26 18:48:10 +00:00
parent 5b017d065e
commit 9bc59fa383

View file

@ -164,6 +164,10 @@ public class RttiUtil {
name = name.replace("'", "").replace("`", "");
try {
symbol.setName(name, symbol.getSource());
//do this in case the mangled name is currently primary which will cause demangler
//to replace the ticks again once demangled since demangler only demangles primary
symbol.setPrimary();
return true;
}
catch (DuplicateNameException e) {