Static Value-Flow Analysis
CFLVF.h
Go to the documentation of this file.
1 //===----- CFLVF.h -- CFL Value-Flow Client--------------//
2 //
3 // SVF: Static Value-Flow Analysis
4 //
5 // Copyright (C) <2013-> <Yulei Sui>
6 //
7 
8 // This program is free software: you can redistribute it and/or modify
9 // it under the terms of the GNU Affero General Public License as published by
10 // the Free Software Foundation, either version 3 of the License, or
11 // (at your option) any later version.
12 
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU Affero General Public License for more details.
17 
18 // You should have received a copy of the GNU Affero General Public License
19 // along with this program. If not, see <http://www.gnu.org/licenses/>.
20 //
21 //===----------------------------------------------------------------------===//
22 
23 /*
24  * CFLVF.h
25  *
26  * Created on: September 5, 2022
27  * Author: Pei Xu
28  */
29 
30 #ifndef INCLUDE_CFL_CFLVF_H_
31 #define INCLUDE_CFL_CFLVF_H_
32 
33 
34 #include "CFL/CFLBase.h"
35 #include "CFL/CFLStat.h"
36 #include "CFL/CFLSVFGBuilder.h"
37 #include "WPA/Andersen.h"
38 
39 namespace SVF
40 {
41 class CFLVF : public CFLBase
42 {
43 
44 public:
46  {
47  }
48 
50  virtual void checkParameter();
51 
53  virtual void initialize();
54 
56  virtual void finalize();
57 
59  void buildCFLGraph();
60 
61 private:
64 };
65 
66 } // End namespace SVF
67 
68 #endif /* INCLUDE_CFL_CFLVF_H_*/
CFL Client Base Class.
Definition: CFLBase.h:50
CFLVF(SVFIR *ir)
Definition: CFLVF.h:45
virtual void checkParameter()
Parameter Checking.
Definition: CFLVF.cpp:72
virtual void finalize()
Print grammar and graph.
Definition: CFLVF.cpp:87
virtual void initialize()
Initialize the grammar, graph, solver.
Definition: CFLVF.cpp:54
CFLSVFGBuilder memSSA
Definition: CFLVF.h:62
void buildCFLGraph()
Build CFLGraph via VFG.
Definition: CFLVF.cpp:35
SVFG * svfg
Definition: CFLVF.h:63
@ CFLFSCS_WPA
Flow-, context-, CFL-reachability-based analysis.
Definition: SVFG.h:66
for isBitcode
Definition: BasicTypes.h:68