Method
GumStalkerTransformertransform_block
Declaration [src]
void
gum_stalker_transformer_transform_block (
GumStalkerTransformer* self,
GumStalkerIterator* iterator,
GumStalkerOutput* output
)
Description [src]
Transforms a single basic block, reading its instructions from iterator and
emitting the recompiled form into output. Stalker calls this for each block;
a GumStalkerTransformer implementation overrides it to inspect and
rewrite the code, typically driving iterator with
gum_stalker_iterator_next() and gum_stalker_iterator_keep().
Parameters
iterator-
Type:
GumStalkerIteratorIterator over the instructions of the block being recompiled.
The data is owned by the caller of the method. output-
Type:
GumStalkerOutputWhere the recompiled instructions are written.
The data is owned by the caller of the method.