|
Static Value-Flow Analysis
|
#include <SlicedGraphs.h>
Private Member Functions | |
| void | buildICFGSets (const OrderedSet< const ICFGNode * > &keepNodes, const OrderedSet< const FunObjVar * > &keptFunctions) |
| void | buildBridgedEdges () |
Private Attributes | |
| ICFG * | icfg |
| OrderedSet< const ICFGNode * > | keptNodes |
| OrderedSet< const ICFGEdge * > | keptEdges |
| Map< const ICFGNode *, OrderedSet< const ICFGNode * > > | bridgedEdges |
| Map< const ICFGNode *, OrderedSet< const ICFGNode * > > | bridgedPreds |
| Set< const ICFGNode * > | keptNodesSet |
Definition at line 66 of file SlicedGraphs.h.
| SVF::SlicedICFGView::SlicedICFGView | ( | ICFG * | icfg, |
| CallGraph * | cg, | ||
| const OrderedSet< const ICFGNode * > & | keepNodes, | ||
| const OrderedSet< const FunObjVar * > & | keptFunctions, | ||
| bool | buildBridged = true |
||
| ) |
Build complete ICFG view from keepNodes and keptFunctions.
Definition at line 252 of file SlicedGraphs.cpp.
|
inline |
Definition at line 107 of file SlicedGraphs.h.
|
inline |
Bridged (synthetic) successors/predecessors of a kept node, or null if none. The traits iterators use these alongside the node's kept original edges.
Definition at line 102 of file SlicedGraphs.h.
|
private |
Definition at line 334 of file SlicedGraphs.cpp.
|
private |
Definition at line 306 of file SlicedGraphs.cpp.
| void SVF::SlicedICFGView::dump | ( | const std::string & | filename | ) | const |
Dump sliced ICFG to dot file.
Definition at line 298 of file SlicedGraphs.cpp.
First kept node of fun's entry (the kept FunEntryICFGNode, else the first kept node of the entry block, else the original entry).
Definition at line 788 of file SlicedGraphs.cpp.
| void SVF::SlicedICFGView::getFunICFGNodes | ( | const FunObjVar * | fun, |
| std::vector< const ICFGNode * > & | out | ||
| ) | const |
Kept ICFG nodes of fun.
Definition at line 814 of file SlicedGraphs.cpp.
|
inline |
|
inline |
| void SVF::SlicedICFGView::getPredNodes | ( | const ICFGNode * | node, |
| std::vector< const ICFGNode * > & | out | ||
| ) | const |
Get predecessor nodes (including bridged edges)
Definition at line 280 of file SlicedGraphs.cpp.
| void SVF::SlicedICFGView::getSuccNodes | ( | const ICFGNode * | node, |
| std::vector< const ICFGNode * > & | out | ||
| ) | const |
Get successor nodes (including bridged edges)
Definition at line 267 of file SlicedGraphs.cpp.
Check if a node is in the sliced view.
Definition at line 293 of file SlicedGraphs.cpp.
Definition at line 126 of file SlicedGraphs.h.
Definition at line 129 of file SlicedGraphs.h.
|
private |
Definition at line 123 of file SlicedGraphs.h.
|
private |
Definition at line 125 of file SlicedGraphs.h.
|
private |
Definition at line 124 of file SlicedGraphs.h.
Definition at line 130 of file SlicedGraphs.h.