mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Merge remote-tracking branch 'origin/GP-2032_Dan_fixQuestionMarksInDynListing' into patch
This commit is contained in:
commit
f5facd663d
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ public abstract class AbstractDBTraceProgramViewListing implements TraceProgramV
|
||||||
public int getBytes(ByteBuffer buffer, int addressOffset) {
|
public int getBytes(ByteBuffer buffer, int addressOffset) {
|
||||||
DBTraceMemorySpace mem = trace.getMemoryManager().get(this, false);
|
DBTraceMemorySpace mem = trace.getMemoryManager().get(this, false);
|
||||||
if (mem == null) {
|
if (mem == null) {
|
||||||
// TODO: 0-fill instead? Will need to check memory space bounds.
|
buffer.put((byte) 0);
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
return mem.getViewBytes(program.snap, address.add(addressOffset), buffer);
|
return mem.getViewBytes(program.snap, address.add(addressOffset), buffer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue