Static Value-Flow Analysis
CFLSVFGBuilder.h
Go to the documentation of this file.
1 //===- CFLSVFGBuilder.h -- Building SVFG for CFL--------------------------//
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 // Created by Xiao on 30/12/23.
25 //
26 
27 #ifndef SVF_CFLSVFGBUILDER_H
28 #define SVF_CFLSVFGBUILDER_H
29 
30 #include "SABER/SaberSVFGBuilder.h"
31 
32 namespace SVF
33 {
34 
36 {
37 public:
41 
43  CFLSVFGBuilder() = default;
44 
46  virtual ~CFLSVFGBuilder() = default;
47 
48 protected:
50  virtual void buildSVFG();
51 
54  virtual void rmIncomingEdgeForSUStore(BVDataPTAImpl* pta);
55 };
56 
57 }
58 #endif //SVF_CFLSVFGBUILDER_H
Set< const SVFGNode * > SVFGNodeSet
FIFOWorkList< NodeID > WorkList
virtual void rmIncomingEdgeForSUStore(BVDataPTAImpl *pta)
CFLSVFGBuilder()=default
Constructor.
Map< NodeID, PointsTo > NodeToPTSSMap
virtual ~CFLSVFGBuilder()=default
Destructor.
virtual void buildSVFG()
Re-write create SVFG method.
for isBitcode
Definition: BasicTypes.h:68
std::unordered_map< Key, Value, Hash, KeyEqual, Allocator > Map
Definition: GeneralType.h:101
std::unordered_set< Key, Hash, KeyEqual, Allocator > Set
Definition: GeneralType.h:96