Table of Contents

Struct StateTransition<TInstruction>

Namespace
Echo.DataFlow.Construction
Assembly
Echo.DataFlow.dll

Represents an object that encodes the transition from one program state to another after an instruction was executed.

public readonly struct StateTransition<TInstruction> where TInstruction : notnull

Type Parameters

TInstruction

The type of instruction that was executed.

Inherited Members

Constructors

StateTransition(SymbolicProgramState<TInstruction>, ControlFlowEdgeType)

Creates a new program state transition.

public StateTransition(SymbolicProgramState<TInstruction> nextState, ControlFlowEdgeType edgeType)

Parameters

nextState SymbolicProgramState<TInstruction>

The new program state.

edgeType ControlFlowEdgeType

The type of edge that was taken.

Properties

EdgeType

Gets the type of edge that was taken by the instruction.

public ControlFlowEdgeType EdgeType { get; }

Property Value

ControlFlowEdgeType

IsRealEdge

Gets whether the edge is a real edge (not None).

public bool IsRealEdge { get; }

Property Value

bool

NextState

Gets the new program state after the instruction was executed.

public SymbolicProgramState<TInstruction> NextState { get; }

Property Value

SymbolicProgramState<TInstruction>

Methods

ToString()

public override string ToString()

Returns

string