mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-0: Fixed DBTraceCodeUnitTest
This commit is contained in:
@@ -745,8 +745,8 @@ public class DBTraceMemorySpace implements Unfinished, TraceMemorySpace, DBTrace
|
||||
AddressRange rng = ent.getKey();
|
||||
int offset = (int) rng.getMinAddress().subtract(toRead.getMinAddress());
|
||||
int length = (int) rng.getLength();
|
||||
buf.position(pos + offset);
|
||||
buf.limit(pos + offset + length);
|
||||
buf.position(pos + offset);
|
||||
int read = getBytes(ent.getValue(), rng.getMinAddress(), buf);
|
||||
if (read < length) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user