Frida Gum
    Preparing search index...

    Class ControlFlowGraph

    Control-flow graph of a single function, with its basic blocks, edges, and dominator relationships.

    Index
    • Builds the control-flow graph of the function containing entrypoint.

      The function's bounds are resolved the same way as Process.findFunctionRange() — from the platform's unwind tables, with the containing symbol's bounds as a best-effort fallback — and its architecture and mode are determined automatically. On 32-bit ARM, a least significant bit set to 1 indicates Thumb.

      Throws an exception if the bounds of the function cannot be determined.

      Parameters

      Returns ControlFlowGraph

    blocks: BasicBlock[]

    All basic blocks making up the graph.

    entryBlock: BasicBlock

    Basic block that the function begins with.

    entrypoint: NativePointer

    Address that the graph was built from.