mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-24_emteere_PcodeDisEmulationError_2 minor refactor
This commit is contained in:
parent
4095810c01
commit
55e12a53d0
1 changed files with 5 additions and 5 deletions
|
@ -160,14 +160,14 @@ public class WrappedMemBuffer implements MemBuffer {
|
|||
private void fillBuffer(int offset) throws MemoryAccessException {
|
||||
// fill the buffer
|
||||
int nRead = memBuffer.getBytes(buffer, computeOffset(offset));
|
||||
|
||||
subBufferIndex = -offset;
|
||||
minOffset = offset;
|
||||
maxOffset = offset + nRead - 1;
|
||||
|
||||
|
||||
if (nRead == 0) {
|
||||
throw new MemoryAccessException();
|
||||
}
|
||||
|
||||
subBufferIndex = -offset;
|
||||
minOffset = offset;
|
||||
maxOffset = offset + nRead - 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue