Static Value-Flow Analysis
Loading...
Searching...
No Matches
CallGraphBuilder.h
Go to the documentation of this file.
1//===- CallGraphBuilder.h ----------------------------------------------------------------//
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/*
25 * CallGraphBuilder.h
26 *
27 * Created on: 13Mar.,2020
28 * Author: Yulei Sui
29 */
30
31#ifndef INCLUDE_SVF_FE_CALLGRAPHBUILDER_H_
32#define INCLUDE_SVF_FE_CALLGRAPHBUILDER_H_
33
34namespace SVF
35{
36
37class ICFG;
38class CallGraph;
39class ThreadCallGraph;
40
42{
43public:
45
47 CallGraph* buildSVFIRCallGraph(const std::vector<const FunObjVar*>& funset);
48
51
54};
55
56} // End namespace SVF
57
58
59#endif /* INCLUDE_UTIL_CALLGRAPHBUILDER_H_ */
CallGraph * buildPTACallGraph()
Buidl PTA callgraoh.
CallGraph * buildSVFIRCallGraph(const std::vector< const FunObjVar * > &funset)
Buidl SVFIR callgraoh.
ThreadCallGraph * buildThreadCallGraph()
Build thread-aware callgraph.
CallGraphBuilder()=default
for isBitcode
Definition BasicTypes.h:70
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76