Package ghidra.pcode.memstate
Interface MemoryFaultHandler
- 
- All Known Implementing Classes:
- EmulatorHelper
 
 public interface MemoryFaultHandler
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanuninitializedRead(Address address, int size, byte[] buf, int bufOffset)An attempt has been made to read uninitialized memory at the specified address.booleanunknownAddress(Address address, boolean write)Unable to translate the specified address
 
- 
- 
- 
Method Detail- 
uninitializedReadboolean 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 bytes
- buf- storage buffer
- bufOffset- read offset within buffer
- Returns:
- true if data should be treated as initialized
 
 - 
unknownAddressboolean unknownAddress(Address address, boolean write) Unable to translate the specified address- Parameters:
- address- address which failed to be translated
- write- true if memory operation was a write vs. read
- Returns:
- true if fault was handled
 
 
- 
 
-