mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Added direct references to MemoryBlock.EXTERNAL_BLOCK_NAME instead of
hard-coded string
This commit is contained in:
parent
e4f61fa06d
commit
b83f327e47
10 changed files with 19 additions and 14 deletions
|
@ -629,7 +629,7 @@ public class PseudoDisassembler {
|
|||
// it is probably a JUMP to an external function.
|
||||
MemoryBlock block = memory.getBlock(target);
|
||||
if (block == null || block.isInitialized() ||
|
||||
!block.getName().equals("EXTERNAL")) {
|
||||
!block.getName().equals(MemoryBlock.EXTERNAL_BLOCK_NAME)) {
|
||||
return false;
|
||||
}
|
||||
targetList.remove(target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue