|
Static Value-Flow Analysis
|
#include <SlicedGraphs.h>
Public Member Functions | |
| SlicedSVFGView (const SlicedICFGView *icfgView, const SVFG *svfg=nullptr) | |
| bool | isKeptNode (const SVFGNode *n) const |
| Whether the node is retained (see the class comment for the rule). | |
| bool | isKeptEdge (const SVFGEdge *e) const |
| Whether the edge is retained: both endpoints kept (no bridges). | |
| const SlicedICFGView * | getICFGView () const |
| const SVFG * | getSVFG () const |
| void | setSVFG (const SVFG *g) |
| Bind the underlying SVFG (enables node iteration and dumping). | |
| void | dump (const std::string &filename) const |
| Dump the sliced SVFG (retained nodes/edges only) via GraphWriter. | |
Private Attributes | |
| const SlicedICFGView * | icfgView |
| const SVFG * | svfg |
Definition at line 267 of file SlicedGraphs.h.
|
inlineexplicit |
Membership needs only the sliced ICFG view; the SVFG handle (for node iteration and dumping) may be bound later, once the solver has built it.
Definition at line 272 of file SlicedGraphs.h.
| void SVF::SlicedSVFGView::dump | ( | const std::string & | filename | ) | const |
Dump the sliced SVFG (retained nodes/edges only) via GraphWriter.
Definition at line 242 of file SlicedGraphs.cpp.
|
inline |
Definition at line 284 of file SlicedGraphs.h.
Definition at line 288 of file SlicedGraphs.h.
Whether the edge is retained: both endpoints kept (no bridges).
Definition at line 279 of file SlicedGraphs.h.
Whether the node is retained (see the class comment for the rule).
Definition at line 230 of file SlicedGraphs.cpp.
Bind the underlying SVFG (enables node iteration and dumping).
Definition at line 293 of file SlicedGraphs.h.
|
private |
Definition at line 302 of file SlicedGraphs.h.
Definition at line 303 of file SlicedGraphs.h.