Added direct references to MemoryBlock.EXTERNAL_BLOCK_NAME instead of

hard-coded string
This commit is contained in:
ghidra1 2020-10-08 14:04:06 -04:00
parent e4f61fa06d
commit b83f327e47
10 changed files with 19 additions and 14 deletions

View file

@ -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);