mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-25 14:05:31 +08:00
GP-6452 fix NPE in rust demangler that caused log message spam
Either way the symbol doesn't get demangled, but doesn't need to spam log with error messages.
This commit is contained in:
+4
@@ -61,6 +61,10 @@ public class RustDemangler implements Demangler {
|
||||
demangled = RustDemanglerV0.demangle(mangled);
|
||||
}
|
||||
|
||||
if (demangled == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
RustDemanglerParser parser = new RustDemanglerParser();
|
||||
DemangledObject demangledObject = parser.parse(mangled, demangled);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user