Static Value-Flow Analysis
|
#include <PAGBuilderFromFile.h>
Public Member Functions | |
PAGBuilderFromFile (std::string f) | |
Constructor. | |
~PAGBuilderFromFile () | |
Destructor. | |
SVFIR * | getPAG () const |
Return SVFIR. | |
std::string | getFileName () const |
Return file name. | |
SVFIR * | build () |
Start building. | |
void | addEdge (NodeID nodeSrc, NodeID nodeDst, APOffset offset, std::string edge) |
Private Attributes | |
SVFIR * | pag |
std::string | file |
Build SVFIR from a user specified file (for debugging purpose)
Definition at line 41 of file PAGBuilderFromFile.h.
|
inline |
Constructor.
Definition at line 49 of file PAGBuilderFromFile.h.
|
inline |
void PAGBuilderFromFile::addEdge | ( | NodeID | srcID, |
NodeID | dstID, | ||
APOffset | offsetOrCSId, | ||
std::string | edge | ||
) |
Add SVFIR edge according to a file format
sanity check for SVFIR from txt
Definition at line 148 of file PAGBuilderFromFile.cpp.
SVFIR * PAGBuilderFromFile::build | ( | ) |
Start building.
new gep node's id from lower bound, nodeNum may not reflect the total nodes.
Definition at line 61 of file PAGBuilderFromFile.cpp.
|
inline |
|
inline |
|
private |
Definition at line 46 of file PAGBuilderFromFile.h.
|
private |
Definition at line 45 of file PAGBuilderFromFile.h.