diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/emulator/FilteredMemoryState.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/emulator/FilteredMemoryState.java index fd106c5db6b..0d69dab69de 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/emulator/FilteredMemoryState.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/emulator/FilteredMemoryState.java @@ -42,12 +42,12 @@ public int getChunk(byte[] res, AddressSpace spc, long off, int size, @Override public void setChunk(byte[] res, AddressSpace spc, long off, int size) { - super.setChunk(res, spc, off, size); if (filterEnabled && filter != null) { filterEnabled = false; filter.filterWrite(spc, off, size, res); filterEnabled = true; } + super.setChunk(res, spc, off, size); } MemoryAccessFilter setFilter(MemoryAccessFilter filter) {