Static Value-Flow Analysis
Loading...
Searching...
No Matches
svf
include
CFL
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
:
45
CFLVF
(
SVFIR
*
ir
) :
CFLBase
(
ir
,
PointerAnalysis
::
CFLFSCS_WPA
)
46
{
47
}
48
50
virtual
void
checkParameter
();
51
53
virtual
void
initialize
();
54
56
virtual
void
finalize
();
57
59
void
buildCFLGraph
();
60
61
private
:
62
CFLSVFGBuilder
memSSA
;
63
SVFG
*
svfg
;
64
};
65
66
}
// End namespace SVF
67
68
#endif
/* INCLUDE_CFL_CFLVF_H_*/
Andersen.h
CFLBase.h
CFLSVFGBuilder.h
CFLStat.h
SVF::CFLBase
CFL Client Base Class.
Definition
CFLBase.h:50
SVF::CFLSVFGBuilder
Definition
CFLSVFGBuilder.h:36
SVF::CFLVF
Definition
CFLVF.h:42
SVF::CFLVF::CFLVF
CFLVF(SVFIR *ir)
Definition
CFLVF.h:45
SVF::CFLVF::checkParameter
virtual void checkParameter()
Parameter Checking.
Definition
CFLVF.cpp:72
SVF::CFLVF::finalize
virtual void finalize()
Print grammar and graph.
Definition
CFLVF.cpp:87
SVF::CFLVF::initialize
virtual void initialize()
Initialize the grammar, graph, solver.
Definition
CFLVF.cpp:54
SVF::CFLVF::memSSA
CFLSVFGBuilder memSSA
Definition
CFLVF.h:62
SVF::CFLVF::buildCFLGraph
void buildCFLGraph()
Build CFLGraph via VFG.
Definition
CFLVF.cpp:35
SVF::CFLVF::svfg
SVFG * svfg
Definition
CFLVF.h:63
SVF::PointerAnalysis
Definition
PointerAnalysis.h:58
SVF::PointerAnalysis::CFLFSCS_WPA
@ CFLFSCS_WPA
Flow-, context-, CFL-reachability-based analysis.
Definition
PointerAnalysis.h:79
SVF::SVFG
Definition
SVFG.h:66
SVF::SVFIR
Definition
SVFIR.h:45
SVF
for isBitcode
Definition
BasicTypes.h:68
SVF::IRBuilder
llvm::IRBuilder IRBuilder
Definition
BasicTypes.h:74
Generated by
1.9.8