Skip to content

VirtualCFG::CFGEdge

A control flow edge connecting two CFG nodes, with an edge condition to indicate edge types

Synopsis

Declared in <SageIII/virtualCFG/virtualCFG.h>

class CFGEdge;

Member Functions

Name

Description

CFGEdge [constructor]

Constructors

caseLabel

The label of the case represented by an eckCaseLabel edge

computedGotoCaseIndex

The expression of the computed goto represented by the eckArithmeticIf* conditions

condition

The control flow condition that enables this edge

conditionBasedOn

The test or case key that is tested as a condition of this control flow edge

id

ID to use for Dot, etc.

scopesBeingEntered

Variables coming into scope across this edge (not extensively tested)

scopesBeingExited

Variables going out of scope across this edge (not extensively tested)

source

The source (beginning) CFG node

target

The target (ending) CFG node

toString

Pretty string for Dot node labels, etc.

toStringForDebugging

String for debugging graphs

operator==

Compare equality of edges

operator!=

Compare disequality of edges

operator<

operator<() has an arbitrary ordering, but allows these objects to be used with std::set and std::map

Private Data Members

Name

src

tgt

Created with MrDocs