struct Frame

Defined at line 15 of file ../../src/lib/unwinder/frame.h

Public Members

Registers regs
bool pc_is_return_address
bool is_signal_frame
Trust trust
Error error
bool fatal_error

Public Methods

std::string Describe ()

Useful for debugging.

Defined at line 27 of file ../../src/lib/unwinder/unwind.cc

void Frame (Registers regs, bool pc_is_return_address, Trust trust)

Disallow default constructors.

Defined at line 71 of file ../../src/lib/unwinder/frame.h

Enumerations

enum class Trust
Name Value Comments
kScan 0

From scanning the stack with heuristics, least reliable.

kSCS 1

From the shadow call stack.

kSigReturn 2

From a sigreturn trampoline.

kFP 3

From the frame pointer.

kPLT 4

From PLT unwinder.

kArmEhAbi 5

From the ARM Exception Handling ABI .ARM.exidx/.ARM.extab sections.

kCFI 6

From call frame info / .eh_frame section.

kContext 7

From the input / context, most reliable.

LINT.IfChange

Defined at line 17 of file ../../src/lib/unwinder/frame.h