mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0 Improved process error handling for Decompiler and GNU Demangler.
Corrected minor GNU Demangler demangler command and script issues.
This commit is contained in:
parent
7079179b59
commit
3ebc46a2ca
6 changed files with 128 additions and 20 deletions
|
@ -104,7 +104,12 @@ public class DemangleSymbolScript extends GhidraScript {
|
|||
println("Successfully demangled\n" + name + '\n' + cmd.getResult());
|
||||
}
|
||||
else {
|
||||
println("Failed to demangle\n" + name + '\n' + cmd.getStatusMsg());
|
||||
String statusMsg = cmd.getStatusMsg();
|
||||
String msg = "Failed to demangle\n" + name;
|
||||
if (statusMsg != null) {
|
||||
msg += "\n" + statusMsg;
|
||||
}
|
||||
println(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue