Package ghidra.app.emulator
Class MemoryAccessFilter
java.lang.Object
ghidra.app.emulator.MemoryAccessFilter
Deprecated, for removal: This API element is subject to removal in a future version.
A means of intercepting and/or modifying the emulator's memory access.
Several of these filters may be chained together, each being invoked in the reverse of the order added. In this way, the first added gets the "final say," but it also is farthest from the original request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Deprecated, for removal: This API element is subject to removal in a future version.Dispose this filter which will cause it to be removed from the memory state.booleanDeprecated, for removal: This API element is subject to removal in a future version.protected abstract voidprocessRead(AddressSpace spc, long off, int size, byte[] values) Deprecated, for removal: This API element is subject to removal in a future version.Invoked after a readprotected abstract voidprocessWrite(AddressSpace spc, long off, int size, byte[] values) Deprecated, for removal: This API element is subject to removal in a future version.Invoked after a writevoidsetFilterOnExecutionOnly(boolean filterOnExecutionOnly) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
emu
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
MemoryAccessFilter
public MemoryAccessFilter()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
processRead
Deprecated, for removal: This API element is subject to removal in a future version.Invoked after a read- Parameters:
spc- the space read fromoff- the offset within the spacesize- the number of bytes readvalues- the bytes read
-
processWrite
Deprecated, for removal: This API element is subject to removal in a future version.Invoked after a write- Parameters:
spc- the space written tooff- the offset within the spacesize- the number of bytes writtenvalues- the bytes written
-
dispose
public void dispose()Deprecated, for removal: This API element is subject to removal in a future version.Dispose this filter which will cause it to be removed from the memory state.If overriden, be sure to invoke
super.dispose(). -
filterOnExecutionOnly
public boolean filterOnExecutionOnly()Deprecated, for removal: This API element is subject to removal in a future version. -
setFilterOnExecutionOnly
public void setFilterOnExecutionOnly(boolean filterOnExecutionOnly) Deprecated, for removal: This API element is subject to removal in a future version.
-
PcodeEmulatorinstead. For similar callbacks, seePcodeEmulationCallbacks