mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
bf0e7792c0
1 changed files with 8 additions and 2 deletions
|
@ -126,9 +126,15 @@ public class EmbeddedMediaAnalyzer extends AbstractAnalyzer {
|
||||||
}
|
}
|
||||||
// skip either the valid data that was found or skip one byte
|
// skip either the valid data that was found or skip one byte
|
||||||
// then do the next search
|
// then do the next search
|
||||||
|
try {
|
||||||
start = found.add(skipLen);
|
start = found.add(skipLen);
|
||||||
found = memory.findBytes(start, end, mediaBytes, mask, true, monitor);
|
found = memory.findBytes(start, end, mediaBytes, mask, true, monitor);
|
||||||
}
|
}
|
||||||
|
catch (AddressOutOfBoundsException e) {
|
||||||
|
// If media was at the very end of the address space, we will end up here
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return foundMediaAddresses;
|
return foundMediaAddresses;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue