Static Value-Flow Analysis
|
#include <DDAClient.h>
Public Member Functions | |
DDAClient (SVFModule *mod) | |
virtual | ~DDAClient () |
virtual void | initialise (SVFModule *) |
virtual OrderedNodeSet & | collectCandidateQueries (SVFIR *p) |
Collect candidate pointers for query. | |
const OrderedNodeSet & | getCandidateQueries () const |
Get candidate queries. | |
virtual void | handleStatement (const SVFGNode *, NodeID) |
Call back used by DDAVFSolver. | |
void | setPAG (SVFIR *g) |
Set SVFIR graph. | |
void | setCurrentQueryPtr (NodeID ptr) |
Set the pointer being queried. | |
void | setQuery (NodeID ptr) |
Set pointer to be queried by DDA analysis. | |
SVFModule * | getModule () const |
Get LLVM module. | |
virtual void | answerQueries (PointerAnalysis *pta) |
virtual void | performStat (PointerAnalysis *) |
virtual void | collectWPANum (SVFModule *) |
Protected Member Functions | |
void | addCandidate (NodeID id) |
Protected Attributes | |
SVFIR * | pag |
SVFIR graph used by current DDA analysis. | |
SVFModule *NodeID | curPtr |
< LLVM module | |
OrderedNodeSet | candidateQueries |
store all candidate pointers to be queried | |
Private Attributes | |
OrderedNodeSet | userInput |
User input queries. | |
bool | solveAll |
TRUE if all top level pointers are being queried. | |
General DDAClient which queries all top level pointers by default.
Definition at line 48 of file DDAClient.h.
|
inline |
Definition at line 51 of file DDAClient.h.
|
inlinevirtual |
Definition at line 53 of file DDAClient.h.
|
inlineprotected |
Definition at line 105 of file DDAClient.h.
|
virtual |
Definition at line 46 of file DDAClient.cpp.
|
inlinevirtual |
Collect candidate pointers for query.
Reimplemented in SVF::FunptrDDAClient, and SVF::AliasDDAClient.
Definition at line 58 of file DDAClient.h.
Definition at line 103 of file DDAClient.h.
|
inline |
Get candidate queries.
Definition at line 71 of file DDAClient.h.
|
inline |
Definition at line 55 of file DDAClient.h.
|
inlinevirtual |
Reimplemented in SVF::FunptrDDAClient, and SVF::AliasDDAClient.
Definition at line 101 of file DDAClient.h.
|
inline |
Set the pointer being queried.
Definition at line 84 of file DDAClient.h.
|
inline |
|
inline |
Set pointer to be queried by DDA analysis.
Definition at line 89 of file DDAClient.h.
|
protected |
store all candidate pointers to be queried
Definition at line 114 of file DDAClient.h.
|
protected |
SVFIR graph used by current DDA analysis.
Definition at line 111 of file DDAClient.h.
|
private |
TRUE if all top level pointers are being queried.
Definition at line 118 of file DDAClient.h.
|
private |
User input queries.
Definition at line 117 of file DDAClient.h.