mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-80: Add Dynamic bytes (raw memory) viewer
This commit is contained in:
parent
a1dba97a10
commit
48ba18306e
54 changed files with 5937 additions and 2330 deletions
|
@ -86,6 +86,7 @@ public class DBTraceProgramViewMemory extends AbstractDBTraceProgramViewMemory {
|
|||
public MemoryBlock[] getBlocks() {
|
||||
List<MemoryBlock> result = new ArrayList<>();
|
||||
forVisibleRegions(reg -> result.add(getBlock(reg)));
|
||||
Collections.sort(result, Comparator.comparing(b -> b.getStart()));
|
||||
return result.toArray(new MemoryBlock[result.size()]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue