|
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 131 of file SlicedGraphs.h.
| SVF::SlicedPAGView::SlicedPAGView | ( | SVFIR * | pag, |
| const OrderedSet< const SVFStmt * > & | keptStmts | ||
| ) |
Definition at line 551 of file SlicedGraphs.cpp.
|
private |
Definition at line 557 of file SlicedGraphs.cpp.
| void SVF::SlicedPAGView::dump | ( | const std::string & | filename | ) | const |
Dump the sliced PAG to a dot file.
Definition at line 579 of file SlicedGraphs.cpp.
Node IDs (SVFVars) touched by the kept statements – the sliced PAG's nodes.
Definition at line 143 of file SlicedGraphs.h.
|
inline |
Get all kept statements.
Definition at line 137 of file SlicedGraphs.h.
|
inline |
The underlying SVFIR (to resolve node ids to SVFVars).
Definition at line 156 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 150 of file SlicedGraphs.h.
Definition at line 167 of file SlicedGraphs.h.
|
private |
Definition at line 166 of file SlicedGraphs.h.
|
private |
Definition at line 165 of file SlicedGraphs.h.