Method
GumBacktracergenerate
Declaration [src]
void
gum_backtracer_generate (
GumBacktracer* self,
const GumCpuContext* cpu_context,
GumReturnAddressArray* return_addresses
)
Description [src]
Walks a thread’s stack and stores each return address in return_addresses. Omit cpu_context to start walking from where this function is called from.
Parameters
cpu_context-
Type:
GumCpuContextThe location to start walking from.
The argument can be NULL.The data is owned by the caller of the method. return_addresses-
Type:
GumReturnAddressArrayThe resulting backtrace.
The argument will be set by the function. The returned data is owned by the instance.