mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-10 14:21:00 +08:00
Improved improper error reporting by DemangledAddressTable with external
symbols
This commit is contained in:
+9
@@ -88,8 +88,17 @@ public class DemangledAddressTable extends DemangledObject {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (address.isExternalAddress()) {
|
||||
Msg.warn(this,
|
||||
"Unable to fully apply external demangled Address Table: " + s.getName(true));
|
||||
return true;
|
||||
}
|
||||
|
||||
Listing listing = program.getListing();
|
||||
if (MemoryBlock.isExternalBlockAddress(address, program)) {
|
||||
Msg.warn(this,
|
||||
"Unable to fully apply external demangled Address Table at " + address + ": " +
|
||||
s.getName(true));
|
||||
listing.setComment(address, CodeUnit.EOL_COMMENT,
|
||||
"WARNING: Unable to apply demangled Address Table");
|
||||
return true; // don't complain
|
||||
|
||||
Reference in New Issue
Block a user