Ghidra is a software reverse engineering (SRE) framework
Merge remote-tracking branch 'origin/patch'
Ryan Kurtz50b48ae63b0e
diff --cc Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/emulation/ReadsTargetMemoryPcodeExecutorState.javaindex 21b139e0e7,82a726b3d0..8700bbdc66--- a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/emulation/ReadsTargetMemoryPcodeExecutorState.java+++ b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/emulation/ReadsTargetMemoryPcodeExecutorState.java@@@ -64,17 -60,14 +64,17 @@@ public class ReadsTargetMemoryPcodeExecMsg.warn(this, "Emulator read from UNKNOWN state: " + unknown);}- protected void fillUnknownWithRecorder(AddressSet unknown) {+ protected boolean fillUnknownWithRecorder(AddressSet unknown) {+ if (!isLive()) {+ return false;+ }- waitTimeout(recorder.captureProcessMemory(unknown, TaskMonitor.DUMMY));+ waitTimeout(recorder.captureProcessMemory(unknown, TaskMonitor.DUMMY, false));+ return true;}- private void fillUnknownWithStaticImages(AddressSet unknown) {- if (!space.isMemorySpace()) {- return;- }+ private boolean fillUnknownWithStaticImages(AddressSet unknown) {+ boolean result = false;+ // TODO: Expand to block? DON'T OVERWRITE KNOWN!DebuggerStaticMappingService mappingService =tool.getService(DebuggerStaticMappingService.class);byte[] data = new byte[4096];