Method

GumStalkerfollow

Declaration [src]

void
gum_stalker_follow (
  GumStalker* self,
  GumThreadId thread_id,
  GumStalkerTransformer* transformer,
  GumEventSink* sink
)

Description [src]

Starts tracing the thread identified by thread_id. When thread_id is the calling thread this behaves like gum_stalker_follow_me(); otherwise the target thread is briefly suspended so it can be made to start executing instrumented code. Stop with gum_stalker_unfollow().

Parameters

thread_id

Type: GumThreadId

ID of the thread to trace.

transformer

Type: GumStalkerTransformer

Transformer to rewrite the traced code, or NULL for the default.

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

Type: GumEventSink

Sink to receive the events, or NULL.

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