|
Static Value-Flow Analysis
|
#include <SlicedGraphs.h>
Public Member Functions | |
| SlicedPAGView (SVFIR *pag, const OrderedSet< const SVFStmt * > &keptStmts) | |
| const OrderedSet< const SVFStmt * > & | getKeptStmts () const |
| Get all kept statements. | |
| const Set< NodeID > & | getKeptNodeIds () const |
| Node IDs (SVFVars) touched by the kept statements – the sliced PAG's nodes. | |
| bool | isKeptStmt (const SVFStmt *s) const |
| SVFIR * | getSVFIR () const |
| The underlying SVFIR (to resolve node ids to SVFVars). | |
| void | dump (const std::string &filename) const |
| Dump the sliced PAG to a dot file. | |
Private Member Functions | |
| void | buildKeptNodeIds () |
Private Attributes | |
| SVFIR * | pag |
| OrderedSet< const SVFStmt * > | keptStmts |
| Set< NodeID > | keptNodeIds |
Definition at line 140 of file SlicedGraphs.h.
| SVF::SlicedPAGView::SlicedPAGView | ( | SVFIR * | pag, |
| const OrderedSet< const SVFStmt * > & | keptStmts | ||
| ) |
Definition at line 505 of file SlicedGraphs.cpp.
|
private |
Definition at line 511 of file SlicedGraphs.cpp.
| void SVF::SlicedPAGView::dump | ( | const std::string & | filename | ) | const |
Dump the sliced PAG to a dot file.
Definition at line 585 of file SlicedGraphs.cpp.
Node IDs (SVFVars) touched by the kept statements – the sliced PAG's nodes.
Definition at line 152 of file SlicedGraphs.h.
|
inline |
Get all kept statements.
Definition at line 146 of file SlicedGraphs.h.
|
inline |
The underlying SVFIR (to resolve node ids to SVFVars).
Definition at line 165 of file SlicedGraphs.h.
Canonical edge membership: a kept SVFVar may have incident statements not in the slice, so traits/queries keep only statements in keptStmts.
Definition at line 159 of file SlicedGraphs.h.
Definition at line 176 of file SlicedGraphs.h.
|
private |
Definition at line 175 of file SlicedGraphs.h.
|
private |
Definition at line 174 of file SlicedGraphs.h.