mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Improved improper error reporting by DemangledAddressTable with external
symbols
This commit is contained in:
parent
da697acbb5
commit
2d526352ee
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue