Static Value-Flow Analysis
|
#include <DDAClient.h>
Public Types | |
typedef OrderedSet< const PAGNode * > | PAGNodeSet |
Public Member Functions | |
AliasDDAClient (SVFModule *module) | |
~AliasDDAClient () | |
virtual OrderedNodeSet & | collectCandidateQueries (SVFIR *pag) |
Only collect function pointers as query candidates. | |
virtual void | performStat (PointerAnalysis *pta) |
Public Member Functions inherited from SVF::DDAClient | |
DDAClient (SVFModule *mod) | |
virtual | ~DDAClient () |
virtual void | initialise (SVFModule *) |
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 | collectWPANum (SVFModule *) |
Private Types | |
typedef OrderedMap< NodeID, const CallICFGNode * > | VTablePtrToCallSiteMap |
Private Attributes | |
VTablePtrToCallSiteMap | vtableToCallSiteMap |
PAGNodeSet | loadSrcNodes |
PAGNodeSet | storeDstNodes |
PAGNodeSet | gepSrcNodes |
Additional Inherited Members | |
Protected Member Functions inherited from SVF::DDAClient | |
void | addCandidate (NodeID id) |
Protected Attributes inherited from SVF::DDAClient | |
SVFIR * | pag |
SVFIR graph used by current DDA analysis. | |
SVFModule *NodeID | curPtr |
< LLVM module | |
OrderedNodeSet | candidateQueries |
store all candidate pointers to be queried | |
DDA client with function pointers as query candidates.
Definition at line 144 of file DDAClient.h.
Definition at line 148 of file DDAClient.h.
Definition at line 159 of file DDAClient.h.
|
inline |
Definition at line 150 of file DDAClient.h.
|
inline |
Definition at line 151 of file DDAClient.h.
|
virtual |
Only collect function pointers as query candidates.
Reimplemented from SVF::DDAClient.
Definition at line 176 of file DDAClient.cpp.
|
virtual |
Reimplemented from SVF::DDAClient.
Definition at line 207 of file DDAClient.cpp.
|
private |
Definition at line 163 of file DDAClient.h.
|
private |
Definition at line 161 of file DDAClient.h.
|
private |
Definition at line 162 of file DDAClient.h.
|
private |
Definition at line 160 of file DDAClient.h.