The Pedigree Project  0.1
Public Member Functions | List of all members
MIPS64SyscallState Class Reference
+ Collaboration diagram for MIPS64SyscallState:

Public Member Functions

uintptr_t getStackPointer () const
 
void setStackPointer (uintptr_t stackPointer)
 
uintptr_t getInstructionPointer () const
 
void setInstructionPointer (uintptr_t instructionPointer)
 
uintptr_t getBasePointer () const
 
void setBasePointer (uintptr_t basePointer)
 
size_t getRegisterCount () const
 
processor_register_t getRegister (size_t index) const
 
const char * getRegisterName (size_t index) const
 
size_t getRegisterSize (size_t index) const
 
size_t getSyscallService () const
 
size_t getSyscallNumber () const
 

Detailed Description

Definition at line 96 of file mips64/state.h.

Member Function Documentation

uintptr_t MIPS64SyscallState::getBasePointer ( ) const
inline

Get the base-pointer

Returns
the base-pointer

Definition at line 204 of file mips64/state.h.

uintptr_t MIPS64SyscallState::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 197 of file mips64/state.h.

processor_register_t MIPS64SyscallState::getRegister ( size_t  index) const

Get a specific register

Parameters
[in]indexthe index of the register (from 0 to getRegisterCount() - 1)
Returns
the value of the register
size_t MIPS64SyscallState::getRegisterCount ( ) const

Get the number of registers

Returns
the number of registers
const char* MIPS64SyscallState::getRegisterName ( size_t  index) const

Get the name of a specific register

Parameters
[in]indexthe index of the register (from 0 to getRegisterCount() - 1)
Returns
the name of the register
size_t MIPS64SyscallState::getRegisterSize ( size_t  index) const
inline

Get the register's size in bytes

Parameters
[in]indexthe index of the register (from 0 to getRegisterCount() - 1)
Returns
the register size in bytes

Definition at line 211 of file mips64/state.h.

uintptr_t MIPS64SyscallState::getStackPointer ( ) const
inline

Get the stack-pointer before the syscall occured

Returns
the stack-pointer before the syscall

Definition at line 190 of file mips64/state.h.

size_t MIPS64SyscallState::getSyscallNumber ( ) const
inline

Get the syscall function number

Returns
the syscall function number

Definition at line 220 of file mips64/state.h.

size_t MIPS64SyscallState::getSyscallService ( ) const
inline

Get the syscall service number

Returns
the syscall service number

Definition at line 216 of file mips64/state.h.

void MIPS64SyscallState::setBasePointer ( uintptr_t  basePointer)
inline

Set the base-pointer

Parameters
[in]basePointerthe new base-pointer

Definition at line 208 of file mips64/state.h.

void MIPS64SyscallState::setInstructionPointer ( uintptr_t  instructionPointer)
inline

Set the instruction-pointer

Parameters
[in]instructionPointerthe new instruction-pointer

Definition at line 201 of file mips64/state.h.

void MIPS64SyscallState::setStackPointer ( uintptr_t  stackPointer)
inline

Set the userspace stack-pointer

Parameters
[in]stackPointerthe new stack-pointer

Definition at line 194 of file mips64/state.h.


The documentation for this class was generated from the following file: