Function
GumControlFlowGraphFindRangeFunc
Declaration
gboolean
(* GumControlFlowGraphFindRangeFunc) (
gconstpointer address,
GumMemoryRange* range,
gpointer user_data
)
Description [src]
Resolves the contiguous range of code that address belongs to. Called for
the entry, and for every direct branch target that falls outside the ranges
discovered so far — this is how a function split across multiple ranges (e.g.
a hot body plus a cold .text.unlikely fragment) gets stitched together.
Parameters
address-
Type:
gconstpointerA code address to locate.
The argument can be NULL.The data is owned by the caller of the function. range-
Type:
GumMemoryRangeThe contiguous code range covering
address.The argument will be set by the function. The returned data is owned by the function. user_data-
Type:
gpointerData passed to gum_control_flow_graph_new().
The argument can be NULL.The data is owned by the caller of the function.