Package ghidra.pcode.memstate
Interface MemoryFaultHandler
-
- All Known Implementing Classes:
EmulatorHelper
public interface MemoryFaultHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
uninitializedRead(Address address, int size, byte[] buf, int bufOffset)
An attempt has been made to read uninitialized memory at the specified address.boolean
unknownAddress(Address address, boolean write)
Unable to translate the specified address
-
-
-
Method Detail
-
uninitializedRead
boolean uninitializedRead(Address address, int size, byte[] buf, int bufOffset)
An attempt has been made to read uninitialized memory at the specified address.- Parameters:
address
- uninitialized storage address (memory, register or unique)size
- number of uninitialized bytesbuf
- storage bufferbufOffset
- read offset within buffer- Returns:
- true if data should be treated as initialized
-
unknownAddress
boolean unknownAddress(Address address, boolean write)
Unable to translate the specified address- Parameters:
address
- address which failed to be translatedwrite
- true if memory operation was a write vs. read- Returns:
- true if fault was handled
-
-