#include <state.h>
x64 Syscall State
Definition at line 140 of file hosted/state.h.
◆ getBasePointer()
| uintptr_t HostedSyscallState::getBasePointer |
( |
| ) |
const |
|
inline |
Get the base-pointer
- Returns
- the base-pointer
Definition at line 329 of file hosted/state.h.
◆ getInstructionPointer()
| uintptr_t HostedSyscallState::getInstructionPointer |
( |
| ) |
const |
|
inline |
Get the instruction-pointer of the next instruction that is executed after the syscall is processed
- Returns
- the instruction-pointer
Definition at line 325 of file hosted/state.h.
◆ getRegister()
| processor_register_t HostedSyscallState::getRegister |
( |
size_t |
index | ) |
const |
Get a specific register
- Parameters
-
- Returns
- the value of the register
Definition at line 62 of file hosted/state.cc.
◆ getRegisterCount()
| size_t HostedSyscallState::getRegisterCount |
( |
| ) |
const |
Get the number of registers
- Returns
- the number of registers
Definition at line 58 of file hosted/state.cc.
◆ getRegisterName()
| const char * HostedSyscallState::getRegisterName |
( |
size_t |
index | ) |
const |
Get the name of a specific register
- Parameters
-
- Returns
- the name of the register
Definition at line 66 of file hosted/state.cc.
◆ getRegisterSize()
| size_t HostedSyscallState::getRegisterSize |
( |
size_t |
index | ) |
const |
|
inline |
Get the register's size in bytes
- Parameters
-
- Returns
- the register size in bytes
Definition at line 333 of file hosted/state.h.
◆ getStackPointer()
| uintptr_t HostedSyscallState::getStackPointer |
( |
| ) |
const |
|
inline |
Get the stack-pointer before the syscall occured
- Returns
- the stack-pointer before the syscall
Definition at line 319 of file hosted/state.h.
◆ getSyscallNumber()
| size_t HostedSyscallState::getSyscallNumber |
( |
| ) |
const |
|
inline |
Get the syscall function number
- Returns
- the syscall function number
Definition at line 340 of file hosted/state.h.
◆ getSyscallParameter()
| uintptr_t HostedSyscallState::getSyscallParameter |
( |
size_t |
n | ) |
const |
|
inline |
Get the n'th parameter for this syscall.
Definition at line 343 of file hosted/state.h.
◆ getSyscallService()
| size_t HostedSyscallState::getSyscallService |
( |
| ) |
const |
|
inline |
Get the syscall service number
- Returns
- the syscall service number
Definition at line 337 of file hosted/state.h.
◆ setBasePointer()
| void HostedSyscallState::setBasePointer |
( |
uintptr_t |
basePointer | ) |
|
|
inline |
Set the base-pointer
- Parameters
-
| [in] | basePointer | the new base-pointer |
Definition at line 332 of file hosted/state.h.
◆ setInstructionPointer()
| void HostedSyscallState::setInstructionPointer |
( |
uintptr_t |
instructionPointer | ) |
|
|
inline |
Set the instruction-pointer
- Parameters
-
| [in] | instructionPointer | the new instruction-pointer |
Definition at line 328 of file hosted/state.h.
◆ setStackPointer()
| void HostedSyscallState::setStackPointer |
( |
uintptr_t |
stackPointer | ) |
|
|
inline |
Set the userspace stack-pointer
- Parameters
-
| [in] | stackPointer | the new stack-pointer |
Definition at line 322 of file hosted/state.h.
◆ setSyscallErrno()
| void HostedSyscallState::setSyscallErrno |
( |
uintptr_t |
val | ) |
|
|
inline |
◆ setSyscallReturnValue()
| void HostedSyscallState::setSyscallReturnValue |
( |
uintptr_t |
val | ) |
|
|
inline |
◆ HostedProcessorState
◆ HostedSyscallManager
◆ error
| uint64_t HostedSyscallState::error |
◆ error_ptr
| uint64_t HostedSyscallState::error_ptr |
◆ number
| uint64_t HostedSyscallState::number |
◆ p1
| uint64_t HostedSyscallState::p1 |
◆ p2
| uint64_t HostedSyscallState::p2 |
◆ p3
| uint64_t HostedSyscallState::p3 |
◆ p4
| uint64_t HostedSyscallState::p4 |
◆ p5
| uint64_t HostedSyscallState::p5 |
◆ p6
| uint64_t HostedSyscallState::p6 |
◆ result
| uint64_t HostedSyscallState::result |
◆ rsp
| uint64_t HostedSyscallState::rsp |
◆ service
| uint64_t HostedSyscallState::service |
The documentation for this class was generated from the following files: