|
ReXGlue SDK
|
#include <rex/platform/exception_handler.h>
Public Types | |
| enum class | Code : u8 { kInvalidException = 0 , kAccessViolation , kIllegalInstruction } |
| enum class | AccessViolationOperation : u8 { kUnknown , kRead , kWrite } |
Public Member Functions | |
| void | InitializeAccessViolation (HostThreadContext *thread_context, u64 fault_address, AccessViolationOperation operation) |
| void | InitializeIllegalInstruction (HostThreadContext *thread_context) |
| Code | GetCode () const |
| HostThreadContext * | GetThreadContext () const |
| u64 | GetPC () const |
| void | SetResumePC (u64 pc) |
| u64 | GetFaultAddress () const |
| AccessViolationOperation | GetAccessViolationOperation () const |
Host exception passed to each ExceptionHandler::Handler.
|
strong |
|
inline |
Returns the fault address of an access violation. It is the address read or written.
|
inline |
Returns the captured thread context. Write registers through the Modify functions so the change reaches the thread when it resumes.
|
inline |
Initializes this exception as an access violation.
| fault_address | The address read or written. |