mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
GP-5422 fix RTTIAnalyzer replace tick after just removed issue
This commit is contained in:
parent
5b017d065e
commit
9bc59fa383
1 changed files with 4 additions and 0 deletions
|
@ -164,6 +164,10 @@ public class RttiUtil {
|
||||||
name = name.replace("'", "").replace("`", "");
|
name = name.replace("'", "").replace("`", "");
|
||||||
try {
|
try {
|
||||||
symbol.setName(name, symbol.getSource());
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
catch (DuplicateNameException e) {
|
catch (DuplicateNameException e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue