fix bug?
This commit is contained in:
@@ -369,7 +369,10 @@ pub fn scan_for_aob<Binary: Scannable + ?Sized>(
|
||||
}
|
||||
|
||||
// start scanning the next chunk
|
||||
let naddr = naddr - aob.len();
|
||||
|
||||
// TODO When i originally wrote this I put a subtraction
|
||||
// I don't remember why but I think it should be an addition
|
||||
let naddr = naddr + aob.len();
|
||||
debug_assert!(naddr > address, "debug assertion failed: {naddr:X} > {address:X}");
|
||||
address = naddr;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user