mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 13:21:22 +08:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
@@ -38,7 +38,7 @@ public class MemoryBlockMap implements AddressPixelMap {
|
||||
return;
|
||||
}
|
||||
|
||||
blocks = program.getMemory().getBlocks();
|
||||
blocks = includeBlocks();
|
||||
pixels = new int[blocks.length];
|
||||
long totalSize = 0;
|
||||
for (MemoryBlock block : blocks) {
|
||||
@@ -50,6 +50,10 @@ public class MemoryBlockMap implements AddressPixelMap {
|
||||
}
|
||||
}
|
||||
|
||||
protected MemoryBlock[] includeBlocks() {
|
||||
return program.getMemory().getBlocks();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Address getAddress(int pixel) {
|
||||
if (pixels == null) {
|
||||
|
||||
Reference in New Issue
Block a user