Definition at line 346 of file dwarf4.h.
◆ decode_sleb128()
int64_t dwarf4::decode_sleb128 |
( |
char ** |
addr | ) |
|
|
static |
Decode Signed LEB128
Decodes a signed LEB128 compressed number that is stored at addr, and more addr forward by the number of bytes that were used to store the compressed number (which varies).
- Parameters
-
addr | the address of the compressed number |
- Returns
- the resulting decompressed number.
Definition at line 1622 of file dwarf4.cpp.
◆ decode_uleb128()
uint64_t dwarf4::decode_uleb128 |
( |
char ** |
addr | ) |
|
|
static |
Decode Unsigned LEB128
Decodes a unsigned LEB128 compressed number that is stored at addr, and more addr forward by the number of bytes that were used to store the compressed number (which varies).
- Parameters
-
addr | the address of the compressed number |
- Returns
- the resulting decompressed number.
Definition at line 1644 of file dwarf4.cpp.
◆ unwind()
Unwind the Stack
Given information stored in a Frame Description Entry (FDE), and the current state of the register, this function unwinds the stack, storing the resulting instruction pointer, stack pointer, and restored register state, back into the state variable. If this FDE describes the CFA that contains the "catch" block that we care about, this new state can be used to "jump" back.
- Parameters
-
fde | the FDE that describes the CFA pointed to in the state |
state | the current state of the registers |
Definition at line 1668 of file dwarf4.cpp.
The documentation for this class was generated from the following files:
- /home/user/hypervisor/bfunwind/include/dwarf4.h
- /home/user/hypervisor/bfunwind/src/dwarf4.cpp