Function

Guminvocation_stack_translate

Declaration [src]

gpointer
gum_invocation_stack_translate (
  GumInvocationStack* self,
  gpointer return_address
)

Description [src]

Translates return_address back to its real value. While a listener is active the interceptor temporarily replaces on-stack return addresses with its own trampoline; this resolves such an address to the caller’s true return address, leaving any unrelated address unchanged.

Parameters

self

Type: GumInvocationStack

The invocation stack.

The data is owned by the caller of the function.
return_address

Type: gpointer

A potentially hijacked return address.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gpointer

The real return address.

The data is owned by the called function.
The return value can be NULL.