B2R2


BasicCFGEvent Type

A basic event that triggers CFG modifications.

Union cases

Union case Description

CFGCall(fn, callSite, callee)

Full Usage: CFGCall(fn, callSite, callee)

Parameters:

Add an inter-procedural fake block for the call instruction.

fn : RegularFunction
callSite : Addr
callee : Addr

CFGEdge(fn, src, dst, edge)

Full Usage: CFGEdge(fn, src, dst, edge)

Parameters:

Add a new inter edge. Note intra edges are connected during bbl parsing.

fn : RegularFunction
src : ProgramPoint
dst : Addr
edge : CFGEdgeKind

CFGFunc(entry, mode)

Full Usage: CFGFunc(entry, mode)

Parameters:

Add a new function.

entry : Addr
mode : ArchOperationMode

CFGIndCall(fn, callSite)

Full Usage: CFGIndCall(fn, callSite)

Parameters:

Add a fake block for an indirect call instruction.

fn : RegularFunction
callSite : Addr

CFGRet(fn, callee, ftAddr, callSite)

Full Usage: CFGRet(fn, callee, ftAddr, callSite)

Parameters:

Add a fake return edge for the call instruction.

fn : RegularFunction
callee : Addr
ftAddr : Addr
callSite : Addr

CFGTailCall(fn, callSite, callee)

Full Usage: CFGTailCall(fn, callSite, callee)

Parameters:

Add a fake block for a tail-call.

fn : RegularFunction
callSite : Addr
callee : Addr