|
| DwarfUnwinder (uintptr_t nData, size_t nLength) |
|
bool | unwind (const ProcessorState &inState, ProcessorState &outState, uintptr_t &frameBase) |
|
|
static uint32_t | decodeUleb128 (uint8_t *pBase, uint32_t &nOffset) |
|
static int32_t | decodeSleb128 (uint8_t *pBase, uint32_t &nOffset) |
|
Definition at line 29 of file DwarfUnwinder.h.
DwarfUnwinder::DwarfUnwinder |
( |
uintptr_t |
nData, |
|
|
size_t |
nLength |
|
) |
| |
int32_t DwarfUnwinder::decodeSleb128 |
( |
uint8_t * |
pBase, |
|
|
uint32_t & |
nOffset |
|
) |
| |
|
static |
Decodes a SLEB128 encoded number.
- Parameters
-
[in] | pBase | A pointer, to which nOffset is added to find the SLEB string. |
[in,out] | nOffset | An offset to add to pBase to find the SLEB string. This is incremented by the function, and the function ends with it pointing to the byte after the SLEB number. |
- Returns
- An integer representation of the SLEB128 number.
- See also
- DWARF specification v3.0, Appendix C.
Definition at line 363 of file DwarfUnwinder.cc.
Referenced by DwarfCfiAutomaton::executeInstruction(), and unwind().
uint32_t DwarfUnwinder::decodeUleb128 |
( |
uint8_t * |
pBase, |
|
|
uint32_t & |
nOffset |
|
) |
| |
|
static |
Decodes a ULEB128 encoded number.
- Parameters
-
[in] | pBase | A pointer, to which nOffset is added to find the ULEB string. |
[in,out] | nOffset | An offset to add to pBase to find the ULEB string. This is incremented by the function, and the function ends with it pointing to the byte after the ULEB number. |
- Returns
- An integer representation of the ULEB128 number.
- See also
- DWARF specification v3.0, Appendix C.
Definition at line 348 of file DwarfUnwinder.cc.
Referenced by DwarfCfiAutomaton::executeInstruction(), and unwind().
bool DwarfUnwinder::unwind |
( |
const ProcessorState & |
inState, |
|
|
ProcessorState & |
outState, |
|
|
uintptr_t & |
frameBase |
|
) |
| |
uintptr_t DwarfUnwinder::m_nData |
|
private |
size_t DwarfUnwinder::m_nLength |
|
private |
The documentation for this class was generated from the following files: