|
The Pedigree Project 0.1
|
#include <DwarfState.h>
Collaboration diagram for DwarfState:Public Types | |
| enum | RegisterState { SameValue = 0 , Undefined , Offset , ValOffset , Register , Expression , ValExpression , Architectural } |
Public Member Functions | |
| DwarfState (const DwarfState &other) | |
| DwarfState & | operator= (const DwarfState &other) |
| processor_register_t | getCfa (const DwarfState &initialState) const |
| processor_register_t | getRegister (unsigned int nRegister, const DwarfState &initialState) const |
Public Attributes | |
| RegisterState | m_RegisterStates [DWARF_MAX_REGISTERS] |
| processor_register_t | m_R [DWARF_MAX_REGISTERS] |
| RegisterState | m_CfaState |
| uint32_t | m_CfaRegister |
| processor_register_t | m_CfaOffset |
| uint8_t * | m_CfaExpression |
| uintptr_t | m_ReturnAddress |
Holds one row of a Dwarf CFI table. We technically generate a table, but we only keep track of the current row.
Definition at line 65 of file DwarfState.h.
| enum DwarfState::RegisterState |
Definition at line 67 of file DwarfState.h.
|
inline |
Definition at line 78 of file DwarfState.h.
|
inline |
Definition at line 87 of file DwarfState.h.
|
inline |
|
inline |
Definition at line 119 of file DwarfState.h.
|
inline |
Definition at line 136 of file DwarfState.h.
References m_R, and m_RegisterStates.
|
inline |
Definition at line 105 of file DwarfState.h.
| uint8_t* DwarfState::m_CfaExpression |
Current CFA expression, if applicable.
Definition at line 217 of file DwarfState.h.
| processor_register_t DwarfState::m_CfaOffset |
Definition at line 213 of file DwarfState.h.
| uint32_t DwarfState::m_CfaRegister |
Current CFA register, and offset.
Definition at line 212 of file DwarfState.h.
Referenced by DwarfCfiAutomaton::executeInstruction().
| RegisterState DwarfState::m_CfaState |
Current CFA (current frame address) - first and most important column in the table.
Definition at line 208 of file DwarfState.h.
Referenced by DwarfCfiAutomaton::executeInstruction().
| processor_register_t DwarfState::m_R[DWARF_MAX_REGISTERS] |
Registers (columns in the table).
Definition at line 202 of file DwarfState.h.
Referenced by DwarfState(), DwarfCfiAutomaton::executeInstruction(), and getRegister().
| RegisterState DwarfState::m_RegisterStates[DWARF_MAX_REGISTERS] |
Register states - these define how to interpret the m_R members.
Definition at line 197 of file DwarfState.h.
Referenced by DwarfState(), DwarfCfiAutomaton::executeInstruction(), and getRegister().
| uintptr_t DwarfState::m_ReturnAddress |
The column which contains the function return address.
Definition at line 222 of file DwarfState.h.