class Unwinder

Defined at line 26 of file ../../src/lib/unwinder/unwind.h

The main unwinder. It caches the unwind tables so repeated unwinding is faster.

The API is designed to be flexible so that it can support both online unwinding from a process'

memory, and offline unwinding from stack snapshots with ELF files on disk.

Public Methods

void Unwinder (const std::vector<Module> & modules)

Initialize the unwinder from a vector of modules.

Each module can supply its own data accessor and address mode.

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

std::vector<Frame> Unwind (Memory * stack, const Registers & registers, size_t max_depth)

Unwind from a stack and a set of registers up to given |max_depth|.

|stack| could be null, in which case it will become an |UnavailableMemory|.

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