Package ghidra.pcode.memstate
Interface MemoryFaultHandler
- All Known Implementing Classes:
EmulatorHelper
public interface MemoryFaultHandler
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
uninitializedRead
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
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
-