Method
GumBacktracergenerate_with_limit
Declaration [src]
void
gum_backtracer_generate_with_limit (
GumBacktracer* self,
const GumCpuContext* cpu_context,
GumReturnAddressArray* return_addresses,
guint limit
)
Description [src]
Walks a thread’s stack and stores each return address in return_addresses,
stopping after limit entries. 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. limit-
Type:
guintThe limit on how far to walk.