AsmGrader 0.0.0
Loading...
Searching...
No Matches
asmgrader::RegistersState Struct Reference

#include <registers_state.hpp>

Public Member Functions

 BOOST_PP_REPEAT (NUM_GEN_REGISTERS, DEF_gen_register, ~)
 
 DEF_getter (fp, x29())
 
 DEF_getter (lr, x30())
 
 BOOST_PP_REPEAT (NUM_FP_REGISTERS, DEF_fp_register, ~)
 

Public Attributes

std::array< IntRegister< ProcessorKind::Aarch64 >, NUM_GEN_REGISTERSregs
 
IntRegister< ProcessorKind::Aarch64sp
 
IntRegister< ProcessorKind::Aarch64pc
 
FlagsRegister< ProcessorKind::Aarch64pstate {&eflags}
 
std::array< FloatingPointRegister< ProcessorKind::Aarch64 >, NUM_FP_REGISTERSvregs
 
IntRegister< ProcessorKind::Aarch64fpsr
 Actually a u32, but I can't imagine a scenario where that would matter, so I don't think it's worth a couple more class templates.
 
IntRegister< ProcessorKind::Aarch64fpcr
 Actually a u32, but I can't imagine a scenario where that would matter, so I don't think it's worth a couple more class templates.
 
IntRegister< ProcessorKind::x86_64rip
 
IntRegister< ProcessorKind::x86_64rsp
 
FlagsRegister< ProcessorKind::x86_64eflags
 

Member Function Documentation

◆ BOOST_PP_REPEAT() [1/2]

asmgrader::RegistersState::BOOST_PP_REPEAT ( NUM_FP_REGISTERS ,
DEF_fp_register ,
~  )

◆ BOOST_PP_REPEAT() [2/2]

asmgrader::RegistersState::BOOST_PP_REPEAT ( NUM_GEN_REGISTERS ,
DEF_gen_register ,
~  )

◆ DEF_getter() [1/2]

asmgrader::RegistersState::DEF_getter ( fp ,
x29()  )

◆ DEF_getter() [2/2]

asmgrader::RegistersState::DEF_getter ( lr ,
x30()  )

Member Data Documentation

◆ eflags

FlagsRegister<ProcessorKind::x86_64> asmgrader::RegistersState::eflags

◆ fpcr

IntRegister<ProcessorKind::Aarch64> asmgrader::RegistersState::fpcr

Actually a u32, but I can't imagine a scenario where that would matter, so I don't think it's worth a couple more class templates.

◆ fpsr

IntRegister<ProcessorKind::Aarch64> asmgrader::RegistersState::fpsr

Actually a u32, but I can't imagine a scenario where that would matter, so I don't think it's worth a couple more class templates.

◆ pc

IntRegister<ProcessorKind::Aarch64> asmgrader::RegistersState::pc

◆ pstate

FlagsRegister<ProcessorKind::Aarch64> asmgrader::RegistersState::pstate {&eflags}

◆ regs

std::array<IntRegister<ProcessorKind::Aarch64>, NUM_GEN_REGISTERS> asmgrader::RegistersState::regs

◆ rip

IntRegister<ProcessorKind::x86_64> asmgrader::RegistersState::rip

◆ rsp

IntRegister<ProcessorKind::x86_64> asmgrader::RegistersState::rsp

◆ sp

IntRegister<ProcessorKind::Aarch64> asmgrader::RegistersState::sp

◆ vregs

std::array<FloatingPointRegister<ProcessorKind::Aarch64>, NUM_FP_REGISTERS> asmgrader::RegistersState::vregs

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