Interface IFlowGraphBuilder<TInstruction>
- Namespace
- Echo.ControlFlow.Construction
- Assembly
- Echo.ControlFlow.dll
Provides members for building a control flow graph, starting at a specific entrypoint address.
public interface IFlowGraphBuilder<TInstruction> where TInstruction : notnull
Type Parameters
TInstructionThe type of instructions that the control flow graph will contain.
- Extension Methods
Properties
Architecture
Gets the architecture of the instructions to graph.
IArchitecture<TInstruction> Architecture { get; }
Property Value
- IArchitecture<TInstruction>
Methods
ConstructFlowGraph(long, IEnumerable<long>)
Constructs a control flow graph, starting at the provided entrypoint address.
ControlFlowGraph<TInstruction> ConstructFlowGraph(long entrypoint, IEnumerable<long> knownBlockHeaders)
Parameters
entrypointlongThe address of the first instruction to traverse.
knownBlockHeadersIEnumerable<long>A list of known block headers that should be included in the traversal.
Returns
- ControlFlowGraph<TInstruction>
The constructed control flow graph, with the entrypoint set to the node containing the entrypoint address provided in
entrypoint.