GP-80: Add Dynamic bytes (raw memory) viewer

This commit is contained in:
Dan 2021-09-27 10:40:40 -04:00
parent a1dba97a10
commit 48ba18306e
54 changed files with 5937 additions and 2330 deletions

View file

@ -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()]);
}