SVF
Graph2Json.h
Go to the documentation of this file.
1 #ifndef INCLUDE_SVF_FE_GRAPH2JSON_H_
2 #define INCLUDE_SVF_FE_GRAPH2JSON_H_
3 
4 #include "Graphs/PAG.h"
5 #include "Graphs/PAGEdge.h"
6 #include "Graphs/PAGNode.h"
7 #include "Graphs/ICFG.h"
8 #include "Graphs/ICFGNode.h"
9 #include "Graphs/ICFGEdge.h"
10 #include "SVF-FE/LLVMUtil.h"
11 
12 namespace SVF
13 {
14 
15 class GraphWriter;
16 class ICFGPrinter : public ICFG
17 {
18 public:
19  ICFGPrinter();
20 
21  void printICFGToJson(const std::string& filename);
22 
23  std::string getPAGNodeKindValue(int kind);
24 
25  std::string getPAGEdgeKindValue(int kind);
26 
27  std::string getICFGKind(const int kind);
28 };
29 
30 } // End namespace SVF
31 
32 #endif
void printICFGToJson(const std::string &filename)
Definition: Graph2Json.cpp:11
Definition: ICFG.h:46
for isBitcode
Definition: ContextDDA.h:15
std::string getICFGKind(const int kind)
Definition: Graph2Json.cpp:140
std::string getPAGNodeKindValue(int kind)
Definition: Graph2Json.cpp:165
std::string getPAGEdgeKindValue(int kind)
Definition: Graph2Json.cpp:200