Function
GumStalkerTransformermake_from_callback
Declaration [src]
GumStalkerTransformer*
gum_stalker_transformer_make_from_callback (
GumStalkerTransformerCallback callback,
gpointer data,
GDestroyNotify data_destroy
)
Description [src]
Creates a GumStalkerTransformer that recompiles code by letting callback
apply custom transformations for any given basic block.
Parameters
callback-
Type:
GumStalkerTransformerCallbackFunction called to transform each basic block.
data-
Type:
gpointerData to pass to
callback.The argument can be NULL.The data is owned by the caller of the function. data_destroy-
Type:
GDestroyNotifyFunction to destroy
data.
Return value
Type: GumStalkerTransformer
A newly created GumStalkerTransformer.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |