Public Member Functions | |
register_state_intel_x64 (const registers_intel_x64_t ®isters) | |
~register_state_intel_x64 () override=default | |
register_state_intel_x64 (register_state_intel_x64 &&) noexcept=default | |
register_state_intel_x64 (const register_state_intel_x64 &)=default | |
register_state_intel_x64 & | operator= (register_state_intel_x64 &&) noexcept=default |
register_state_intel_x64 & | operator= (const register_state_intel_x64 &)=default |
uint64_t | get_ip () const override |
register_state & | set_ip (uint64_t value) override |
uint64_t | get (uint64_t index) const override |
register_state & | set (uint64_t index, uint64_t value) override |
void | commit () override |
void | commit (uint64_t cfa) override |
void | resume () override |
uint64_t | max_num_registers () const override |
const char * | name (uint64_t index) const override |
void | dump () const override |
Public Member Functions inherited from register_state | |
register_state ()=default | |
virtual | ~register_state ()=default |
register_state (register_state &&) noexcept=default | |
register_state (const register_state &)=default | |
register_state & | operator= (register_state &&) noexcept=default |
register_state & | operator= (const register_state &)=default |
Definition at line 90 of file registers_intel_x64.h.
|
inline |
Definition at line 93 of file registers_intel_x64.h.
|
overridedefault |
|
defaultnoexcept |
|
default |
|
defaultnoexcept |
|
default |
|
inlineoverridevirtual |
Get Instruction Pointer
Reimplemented from register_state.
Definition at line 107 of file registers_intel_x64.h.
|
inlineoverridevirtual |
Set Instruction Pointer
Note: the write is staged and must be committed using the commit function
value | the value to set the instruction pointer to |
Reimplemented from register_state.
Definition at line 110 of file registers_intel_x64.h.
|
inlineoverridevirtual |
Get General Purpose Register
index | the general purpose register to get |
Reimplemented from register_state.
Definition at line 116 of file registers_intel_x64.h.
|
inlineoverridevirtual |
Set General Purpose Register
Note: the write is staged and must be committed using the commit function
index | the general purpose register to set |
value | the value to set the general purpose register to |
Reimplemented from register_state.
Definition at line 124 of file registers_intel_x64.h.
|
inlineoverridevirtual |
Commit
Commits any pending changes to the register state
Reimplemented from register_state.
Definition at line 134 of file registers_intel_x64.h.
|
inlineoverridevirtual |
Commit with CFA
Commits any pending changes to the register state, and saves the provided cfa in the stack register
cfa | the canonical frame address to save to the stack register |
Reimplemented from register_state.
Definition at line 137 of file registers_intel_x64.h.
|
inlineoverridevirtual |
Resume
Restores the register state. Note that this function does not return.
Reimplemented from register_state.
Definition at line 143 of file registers_intel_x64.h.
|
inlineoverridevirtual |
Max Number of Registers
Reimplemented from register_state.
Definition at line 146 of file registers_intel_x64.h.
|
inlineoverridevirtual |
Register Name
index | the index of the register to get the name for |
Reimplemented from register_state.
Definition at line 149 of file registers_intel_x64.h.
|
inlineoverridevirtual |
Dump
Prints the value of each register. Make sure that logging is enabled before using this function
Reimplemented from register_state.
Definition at line 177 of file registers_intel_x64.h.