Static Value-Flow Analysis
|
#include <DDAClient.h>
Public Member Functions | |
FunptrDDAClient (SVFModule *module) | |
~FunptrDDAClient () | |
virtual OrderedNodeSet & | collectCandidateQueries (SVFIR *p) |
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 |
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 125 of file DDAClient.h.
Definition at line 128 of file DDAClient.h.
|
inline |
Definition at line 131 of file DDAClient.h.
|
inline |
Definition at line 132 of file DDAClient.h.
|
virtual |
Only collect function pointers as query candidates.
Reimplemented from SVF::DDAClient.
Definition at line 78 of file DDAClient.cpp.
|
virtual |
Reimplemented from SVF::DDAClient.
Definition at line 100 of file DDAClient.cpp.
|
private |
Definition at line 129 of file DDAClient.h.