Interface
GumStalkerTransformer
Prerequisite
In order to implement StalkerTransformer, your type must inherit fromGObject.
Functions
gum_stalker_transformer_make_default
Creates a default GumStalkerTransformer that recompiles code without any
custom transformations.
gum_stalker_transformer_make_from_callback
Creates a GumStalkerTransformer that recompiles code by letting callback
apply custom transformations for any given basic block.
Instance methods
gum_stalker_transformer_transform_block
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().
Interface structure
struct GumStalkerTransformerInterface {
GTypeInterface parent;
void (* transform_block) (
GumStalkerTransformer* self,
GumStalkerIterator* iterator,
GumStalkerOutput* output
);
}
No description available.
Interface members
parent |
|
No description available. |
|
transform_block |
|
No description available. |
Virtual methods
Gum.StalkerTransformer.transform_block
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().