Static Value-Flow Analysis
Loading...
Searching...
No Matches
PointerAnalysisImpl.h
Go to the documentation of this file.
1//===- PointerAnalysisImpl.h -- Pointer analysis implementation--------------------//
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 * PointerAnalysis.h
25 *
26 * Created on: Nov 12, 2013
27 * Author: Yulei Sui
28 */
29
30#ifndef INCLUDE_MEMORYMODEL_POINTERANALYSISIMPL_H_
31#define INCLUDE_MEMORYMODEL_POINTERANALYSISIMPL_H_
32
33#include <Graphs/ConsG.h>
34#include "MemoryModel/PTATY.h"
36
37namespace SVF
38{
39
44{
45
46public:
51
57
63
66
68 ~BVDataPTAImpl() override = default;
69
74
75 static inline bool classof(const PointerAnalysis *pta)
76 {
77 return pta->getImplTy() == PTAImplTy::BVDataImpl;
78 }
79
82 inline const PointsTo& getPts(NodeID id) override
83 {
84 return ptD->getPts(id);
85 }
86 inline const NodeSet& getRevPts(NodeID nodeId) override
87 {
88 return ptD->getRevPts(nodeId);
89 }
91
93 virtual inline void clearPts(NodeID id, NodeID element)
94 {
95 ptD->clearPts(id, element);
96 }
97
99 virtual inline void clearFullPts(NodeID id)
100 {
101 ptD->clearFullPts(id);
102 }
103
106
107 virtual inline bool unionPts(NodeID id, const PointsTo& target)
108 {
109 return ptD->unionPts(id, target);
110 }
111 virtual inline bool unionPts(NodeID id, NodeID ptd)
112 {
113 return ptD->unionPts(id,ptd);
114 }
115 virtual inline bool addPts(NodeID id, NodeID ptd)
116 {
117 return ptD->addPts(id,ptd);
118 }
120
122 virtual inline void clearAllPts()
123 {
124 ptD->clear();
125 }
126
128 virtual void expandFIObjs(const PointsTo& pts, PointsTo& expandedPts);
130 virtual void expandFIObjs(const NodeBS& pts, NodeBS& expandedPts);
131
133 void remapPointsToSets(void);
134
136
137 virtual void writeToFile(const std::string& filename);
138 virtual void writeObjVarToFile(const std::string& filename);
139 virtual void writePtsResultToFile(std::fstream& f);
140 virtual void writeGepObjVarMapToFile(std::fstream& f);
141 virtual bool readFromFile(const std::string& filename);
142 virtual void readPtsResultFromFile(std::ifstream& f);
143 virtual void readGepObjVarMapFromFile(std::ifstream& f);
144 virtual void readAndSetObjFieldSensitivity(std::ifstream& f, const std::string& delimiterStr);
146
147protected:
149 inline PTDataTy* getPTDataTy() const
150 {
151 return ptD.get();
152 }
153
154
156 void finalize() override;
157
159 virtual inline bool updateCallGraph(const CallSiteToFunPtrMap&)
160 {
161 assert(false && "Virtual function not implemented!");
162 return false;
163 }
164
166 {
167 DiffPTDataTy* diff = SVFUtil::dyn_cast<DiffPTDataTy>(ptD.get());
168 assert(diff && "BVDataPTAImpl::getDiffPTDataTy: not a DiffPTDataTy!");
169 return diff;
170 }
171
172 inline DFPTDataTy* getDFPTDataTy() const
173 {
174 DFPTDataTy* df = SVFUtil::dyn_cast<DFPTDataTy>(ptD.get());
175 assert(df && "BVDataPTAImpl::getDFPTDataTy: not a DFPTDataTy!");
176 return df;
177 }
178
180 {
181 MutDFPTDataTy* mdf = SVFUtil::dyn_cast<MutDFPTDataTy>(ptD.get());
182 assert(mdf && "BVDataPTAImpl::getMutDFPTDataTy: not a MutDFPTDataTy!");
183 return mdf;
184 }
185
187 {
188 VersionedPTDataTy* v = SVFUtil::dyn_cast<VersionedPTDataTy>(ptD.get());
189 assert(v && "BVDataPTAImpl::getVersionedPTDataTy: not a VersionedPTDataTy!");
190 return v;
191 }
192
195
199
202 virtual void normalizePointsTo();
203
204private:
206 std::unique_ptr<PTDataTy> ptD;
207
209
210public:
213 const SVFVar* V2) override
214 {
215 return alias(V1->getId(), V2->getId());
216 }
217
220
222 virtual AliasResult alias(const PointsTo& pts1, const PointsTo& pts2);
223
225
226 void dumpCPts() override
227 {
228 ptD->dumpPTData();
229 }
230
231 void dumpTopLevelPtsTo() override;
232
233 void dumpAllPts() override;
235};
236
240template<class Cond>
242{
243
244public:
252
255 {
257 ptD = new MutPTDataTy();
258 else
259 assert(false && "no points-to data available");
260
262 }
263
265 virtual ~CondPTAImpl()
266 {
267 destroy();
268 }
269
270 static inline bool classof(const PointerAnalysis *pta)
271 {
272 return pta->getImplTy() == PTAImplTy::CondImpl;
273 }
274
276 inline void destroy()
277 {
278 delete ptD;
279 ptD = nullptr;
280 }
281
283 inline PTDataTy* getPTDataTy() const
284 {
285 return ptD;
286 }
287
289 {
290 MutPTDataTy* mut = SVFUtil::dyn_cast<MutPTDataTy>(ptD);
291 assert(mut && "BVDataPTAImpl::getMutPTDataTy: not a MutPTDataTy!");
292 return mut;
293 }
294
295 inline bool hasPtsMap(void) const
296 {
297 return SVFUtil::isa<MutPTDataTy>(ptD);
298 }
299
300 inline const typename MutPTDataTy::PtsMap& getPtsMap() const
301 {
302 if (MutPTDataTy *m = SVFUtil::dyn_cast<MutPTDataTy>(ptD)) return m->getPtsMap();
303 assert(false && "CondPTAImpl::getPtsMap: not a PTData with a PtsMap!");
304 exit(1);
305 }
306
309 virtual inline const CPtSet& getPts(CVar id)
310 {
311 return ptD->getPts(id);
312 }
313 virtual inline const Set<CVar>& getRevPts(CVar nodeId)
314 {
315 return ptD->getRevPts(nodeId);
316 }
318
320 virtual inline void clearPts()
321 {
322 ptD->clear();
323 }
324
326 bool overlap(const CPtSet& cpts1, const CPtSet& cpts2) const
327 {
328 for (typename CPtSet::const_iterator it1 = cpts1.begin(); it1 != cpts1.end(); ++it1)
329 {
330 for (typename CPtSet::const_iterator it2 = cpts2.begin(); it2 != cpts2.end(); ++it2)
331 {
332 if(isSameVar(*it1,*it2))
333 return true;
334 }
335 }
336 return false;
337 }
338
341 {
342 expandedCpts = cpts;;
343 for(typename CPtSet::const_iterator cit = cpts.begin(), ecit=cpts.end(); cit!=ecit; ++cit)
344 {
345 if(pag->getBaseObjVarID(cit->get_id())==cit->get_id())
346 {
347 NodeBS& fields = pag->getAllFieldsObjVars(cit->get_id());
348 for(NodeBS::iterator it = fields.begin(), eit = fields.end(); it!=eit; ++it)
349 {
350 CVar cvar(cit->get_cond(),*it);
351 expandedCpts.set(cvar);
352 }
353 }
354 }
355 }
356
357protected:
358
360 virtual void finalize()
361 {
364 }
367
368 virtual inline bool unionPts(CVar id, const CPtSet& target)
369 {
370 return ptD->unionPts(id, target);
371 }
372
373 virtual inline bool unionPts(CVar id, CVar ptd)
374 {
375 return ptD->unionPts(id,ptd);
376 }
377
378 virtual inline bool addPts(CVar id, CVar ptd)
379 {
380 return ptD->addPts(id,ptd);
381 }
383
385
386 inline bool mustAlias(const CVar& var1, const CVar& var2)
387 {
388 if(isSameVar(var1,var2))
389 return true;
390
391 bool singleton = !(isHeapMemObj(var1.get_id()) || isLocalVarInRecursiveFun(var1.get_id()));
392 if(isCondCompatible(var1.get_cond(),var2.get_cond(),singleton) == false)
393 return false;
394
395 const CPtSet& cpts1 = getPts(var1);
396 const CPtSet& cpts2 = getPts(var2);
397 return (contains(cpts1,cpts2) && contains(cpts2,cpts1));
398 }
399
400 // Whether cpts1 contains all points-to targets of pts2
401 bool contains(const CPtSet& cpts1, const CPtSet& cpts2)
402 {
403 if (cpts1.empty() || cpts2.empty())
404 return false;
405
406 for (typename CPtSet::const_iterator it2 = cpts2.begin(); it2 != cpts2.end(); ++it2)
407 {
408 bool hasObj = false;
409 for (typename CPtSet::const_iterator it1 = cpts1.begin(); it1 != cpts1.end(); ++it1)
410 {
411 if(isSameVar(*it1,*it2))
412 {
413 hasObj = true;
414 break;
415 }
416 }
417 if(hasObj == false)
418 return false;
419 }
420 return true;
421 }
422
424 bool isSameVar(const CVar& var1, const CVar& var2) const
425 {
426 if(var1.get_id() != var2.get_id())
427 return false;
428
430 bool singleton = !(isHeapMemObj(var1.get_id()) || isLocalVarInRecursiveFun(var1.get_id()));
431 return isCondCompatible(var1.get_cond(),var2.get_cond(),singleton);
432 }
434
436 virtual void normalizePointsTo()
437 {
438 normalized = true;
439 if (hasPtsMap())
440 {
441 const typename MutPTDataTy::PtsMap& ptsMap = getPtsMap();
442 for(typename MutPTDataTy::PtsMap::const_iterator it = ptsMap.begin(), eit=ptsMap.end(); it!=eit; ++it)
443 {
444 for(typename CPtSet::const_iterator cit = it->second.begin(), ecit=it->second.end(); cit!=ecit; ++cit)
445 {
446 ptrToBVPtsMap[(it->first).get_id()].set(cit->get_id());
447 objToNSRevPtsMap[cit->get_id()].insert((it->first).get_id());
448 ptrToCPtsMap[(it->first).get_id()].set(*cit);
449 }
450 }
451 }
452 else
453 {
454 assert(false && "CondPTAImpl::NormalizePointsTo: could not normalize points-to sets");
455 }
456 }
467public:
469 virtual void dumpCPts()
470 {
471 ptD->dumpPTData();
472 }
474 virtual inline PointsTo getBVPointsTo(const CPtSet& cpts) const
475 {
477 for(typename CPtSet::const_iterator cit = cpts.begin(), ecit=cpts.end(); cit!=ecit; ++cit)
478 pts.set(cit->get_id());
479 return pts;
480 }
482 virtual inline PointsTo& getPts(NodeID ptr)
483 {
484 assert(normalized && "Pts of all context-var have to be merged/normalized. Want to use getPts(CVar cvar)??");
485 return ptrToBVPtsMap[ptr];
486 }
488 virtual inline const CPtSet& getCondPointsTo(NodeID ptr)
489 {
490 assert(normalized && "Pts of all context-vars have to be merged/normalized. Want to use getPts(CVar cvar)??");
491 return ptrToCPtsMap[ptr];
492 }
494 virtual inline NodeSet& getRevPts(NodeID obj)
495 {
496 assert(normalized && "Pts of all context-var have to be merged/normalized. Want to use getPts(CVar cvar)??");
497 return objToNSRevPtsMap[obj];
498 }
499
501 virtual inline AliasResult alias(const SVFVar* V1, const SVFVar* V2)
502 {
503 return alias(V1->getId(), V2->getId());
504 }
511 virtual AliasResult alias(const CVar& var1, const CVar& var2)
512 {
513 return alias(getPts(var1),getPts(var2));
514 }
516 virtual inline AliasResult alias(const CPtSet& pts1, const CPtSet& pts2)
517 {
524 else if(this->getAnalysisTy() == PTATY::PathS_DDA && contains(cpts1,cpts2) && contains(cpts2,cpts1))
525 {
527 }
528 else if(overlap(cpts1,cpts2))
530 else
532 }
534 inline bool containBlackHoleNode(const CPtSet& cpts)
535 {
536 for(typename CPtSet::const_iterator cit = cpts.begin(), ecit=cpts.end(); cit!=ecit; ++cit)
537 {
538 if(cit->get_id() == pag->getBlackHoleNode())
539 return true;
540 }
541 return false;
542 }
544 inline bool containConstantNode(const CPtSet& cpts)
545 {
546 for(typename CPtSet::const_iterator cit = cpts.begin(), ecit=cpts.end(); cit!=ecit; ++cit)
547 {
548 if(cit->get_id() == pag->getConstantNode())
549 return true;
550 }
551 return false;
552 }
554 virtual bool isCondCompatible(const Cond& cxt1, const Cond& cxt2, bool singleton) const = 0;
555
558 {
559 for (OrderedNodeSet::iterator nIter = this->getAllValidPtrs().begin(); nIter != this->getAllValidPtrs().end(); ++nIter)
560 {
561 const SVFVar* node = this->getPAG()->getSVFVar(*nIter);
562 if (this->getPAG()->isValidTopLevelPtr(node))
563 {
564 if (SVFUtil::isa<DummyObjVar>(node))
565 {
566 SVFUtil::outs() << "##<Blackhole or constant> id:" << node->getId();
567 }
568 else if (!SVFUtil::isa<DummyValVar>(node))
569 {
570 SVFUtil::outs() << "##<" << node->toString() << "> ";
571 //SVFUtil::outs() << "Source Loc: " << SVFUtil::getSourceLoc(node->getValue());
572 }
573
574 const PointsTo& pts = getPts(node->getId());
575 SVFUtil::outs() << "\nNodeID " << node->getId() << " ";
576 if (pts.empty())
577 {
578 SVFUtil::outs() << "\t\tPointsTo: {empty}\n\n";
579 }
580 else
581 {
582 SVFUtil::outs() << "\t\tPointsTo: { ";
583 for (PointsTo::iterator it = pts.begin(), eit = pts.end(); it != eit; ++it)
584 SVFUtil::outs() << *it << " ";
585 SVFUtil::outs() << "}\n\n";
586 }
587 }
588 }
589
590 SVFUtil::outs().flush();
591 }
592};
593
594} // End namespace SVF
595
596#endif /* INCLUDE_MEMORYMODEL_POINTERANALYSISIMPL_H_ */
newitem type
Definition cJSON.cpp:2739
#define false
Definition cJSON.cpp:70
VersionedPTDataTy * getVersionedPTDataTy() const
PersistentDiffPTData< NodeID, NodeSet, NodeID, PointsTo > PersDiffPTDataTy
virtual void normalizePointsTo()
virtual void writeToFile(const std::string &filename)
Interface for analysis result storage on filesystem.
virtual bool readFromFile(const std::string &filename)
PersistentIncDFPTData< NodeID, NodeSet, NodeID, PointsTo > PersIncDFPTDataTy
virtual void writeObjVarToFile(const std::string &filename)
const NodeSet & getRevPts(NodeID nodeId) override
virtual void clearAllPts()
Clear all data.
virtual void clearPts(NodeID id, NodeID element)
Remove element from the points-to set of id.
~BVDataPTAImpl() override=default
Destructor.
virtual void readAndSetObjFieldSensitivity(std::ifstream &f, const std::string &delimiterStr)
DiffPTDataTy * getDiffPTDataTy() const
AliasResult alias(const SVFVar *V1, const SVFVar *V2) override
Interface expose to users of our pointer analysis, given Value infos.
MutablePTData< NodeID, NodeSet, NodeID, PointsTo > MutPTDataTy
DFPTData< NodeID, NodeSet, NodeID, PointsTo > DFPTDataTy
virtual void writeGepObjVarMapToFile(std::fstream &f)
void finalize() override
Finalization of pointer analysis, and normalize points-to information to Bit Vector representation.
MutableIncDFPTData< NodeID, NodeSet, NodeID, PointsTo > MutIncDFPTDataTy
static bool classof(const PointerAnalysis *pta)
virtual void writePtsResultToFile(std::fstream &f)
PersistentDFPTData< NodeID, NodeSet, NodeID, PointsTo > PersDFPTDataTy
virtual void expandFIObjs(const PointsTo &pts, PointsTo &expandedPts)
Expand FI objects.
void remapPointsToSets(void)
Remap all points-to sets to use the current mapping.
MutableVersionedPTData< NodeID, NodeSet, NodeID, PointsTo, VersionedVar, Set< VersionedVar > > MutVersionedPTDataTy
MutDFPTDataTy * getMutDFPTDataTy() const
VersionedPTData< NodeID, NodeSet, NodeID, PointsTo, VersionedVar, Set< VersionedVar > > VersionedPTDataTy
virtual void onTheFlyThreadCallGraphSolve(const CallSiteToFunPtrMap &callsites, CallEdgeMap &newForkEdges)
On the fly thread call graph construction respecting forksite.
PersistentPointsToCache< PointsTo > ptCache
virtual void onTheFlyCallGraphSolve(const CallSiteToFunPtrMap &callsites, CallEdgeMap &newEdges)
On the fly call graph construction.
virtual bool updateCallGraph(const CallSiteToFunPtrMap &)
Update callgraph. This should be implemented by its subclass.
std::unique_ptr< PTDataTy > ptD
Points-to data.
DFPTDataTy * getDFPTDataTy() const
DiffPTData< NodeID, NodeSet, NodeID, PointsTo > DiffPTDataTy
MutableDFPTData< NodeID, NodeSet, NodeID, PointsTo > MutDFPTDataTy
PersistentPointsToCache< PointsTo > & getPtCache()
MutableDiffPTData< NodeID, NodeSet, NodeID, PointsTo > MutDiffPTDataTy
void dumpCPts() override
dump and debug, print out conditional pts
PTData< NodeID, NodeSet, NodeID, PointsTo > PTDataTy
void dumpTopLevelPtsTo() override
virtual bool unionPts(NodeID id, NodeID ptd)
const PointsTo & getPts(NodeID id) override
PersistentVersionedPTData< NodeID, NodeSet, NodeID, PointsTo, VersionedVar, Set< VersionedVar > > PersVersionedPTDataTy
PersistentPTData< NodeID, NodeSet, NodeID, PointsTo > PersPTDataTy
virtual bool unionPts(NodeID id, const PointsTo &target)
virtual void readPtsResultFromFile(std::ifstream &f)
PTDataTy * getPTDataTy() const
Get points-to data structure.
virtual bool addPts(NodeID id, NodeID ptd)
virtual void readGepObjVarMapFromFile(std::ifstream &f)
virtual void clearFullPts(NodeID id)
Clear points-to set of id.
virtual ~CondPTAImpl()
Destructor.
virtual bool addPts(CVar id, CVar ptd)
MutPTDataTy * getMutPTDataTy() const
virtual bool unionPts(CVar id, const CPtSet &target)
PtrToNSMap objToNSRevPtsMap
Normal points-to representation (without conditions)
PTDataTy * getPTDataTy() const
Get points-to data.
PtrToBVPtsMap ptrToBVPtsMap
Normal points-to representation (without conditions)
bool containConstantNode(const CPtSet &cpts)
Test constant node for cpts.
bool mustAlias(const CVar &var1, const CVar &var2)
Internal interface to be used for conditional points-to set queries.
CondStdSet< CVar > CPtSet
virtual const CPtSet & getCondPointsTo(NodeID ptr)
Given a pointer return its conditional points-to.
virtual bool unionPts(CVar id, CVar ptd)
Map< NodeID, CPtSet > PtrToCPtsMap
virtual const Set< CVar > & getRevPts(CVar nodeId)
CondPTAImpl(SVFIR *pag, PTATY type)
map a pointer to its conditional points-to set
bool hasPtsMap(void) const
bool contains(const CPtSet &cpts1, const CPtSet &cpts2)
void destroy()
Release memory.
PtrToCPtsMap ptrToCPtsMap
Conditional points-to representation (with conditions)
virtual bool isCondCompatible(const Cond &cxt1, const Cond &cxt2, bool singleton) const =0
Whether two conditions are compatible (to be implemented by child class)
PTData< CVar, Set< CVar >, CVar, CPtSet > PTDataTy
bool isSameVar(const CVar &var1, const CVar &var2) const
Whether two pointers/objects are the same one by considering their conditions.
void dumpTopLevelPtsTo()
Dump points-to information of top-level pointers.
Map< NodeID, NodeSet > PtrToNSMap
map a pointer to its BitVector points-to representation
void expandFIObjs(const CPtSet &cpts, CPtSet &expandedCpts)
Expand all fields of an aggregate in all points-to sets.
bool containBlackHoleNode(const CPtSet &cpts)
Test blk node for cpts.
virtual AliasResult alias(const CPtSet &pts1, const CPtSet &pts2)
Interface expose to users of our pointer analysis, given two conditional points-to sets.
virtual PointsTo getBVPointsTo(const CPtSet &cpts) const
Given a conditional pts return its bit vector points-to.
virtual NodeSet & getRevPts(NodeID obj)
Given an object return all pointers points to this object.
virtual void finalize()
Finalization of pointer analysis, and normalize points-to information to Bit Vector representation.
virtual void dumpCPts()
Print out conditional pts.
virtual void normalizePointsTo()
Normalize points-to information to BitVector/conditional representation.
bool normalized
Normalized flag.
Map< NodeID, PointsTo > PtrToBVPtsMap
virtual AliasResult alias(NodeID node1, NodeID node2)
Interface expose to users of our pointer analysis, given two pointers.
virtual AliasResult alias(const SVFVar *V1, const SVFVar *V2)
Interface expose to users of our pointer analysis, given Value infos.
virtual AliasResult alias(const CVar &var1, const CVar &var2)
Interface expose to users of our pointer analysis, given conditional variables.
bool overlap(const CPtSet &cpts1, const CPtSet &cpts2) const
Whether cpts1 and cpts2 have overlap points-to targets.
virtual void clearPts()
Clear all data.
virtual PointsTo & getPts(NodeID ptr)
Given a pointer return its bit vector points-to.
static bool classof(const PointerAnalysis *pta)
virtual const CPtSet & getPts(CVar id)
const MutPTDataTy::PtsMap & getPtsMap() const
MutablePTData< CVar, Set< CVar >, CVar, CPtSet > MutPTDataTy
PTDataTy * ptD
Points-to data.
OrderedSet< Element >::const_iterator const_iterator
iterator begin()
Iterators.
NodeID getBlackHoleNode() const
Definition IRGraph.h:247
NodeID getConstantNode() const
Definition IRGraph.h:251
Map< Key, DataSet > PtsMap
bool isLocalVarInRecursiveFun(NodeID id) const
Whether a local variable is in function recursions.
virtual void finalize()
Finalization of a pointer analysis, including checking alias correctness.
OrderedMap< const CallICFGNode *, FunctionSet > CallEdgeMap
PTAImplTy ptaImplTy
PTA implementation type.
SVFIR * getPAG() const
OrderedNodeSet & getAllValidPtrs()
Get all Valid Pointers for resolution.
PTAImplTy getImplTy() const
Return implementation type of the pointer analysis.
PTATY getAnalysisTy() const
Type of pointer analysis.
SVFIR::CallSiteToFunPtrMap CallSiteToFunPtrMap
static SVFIR * pag
SVFIR.
bool isHeapMemObj(NodeID id) const
Whether this object is heap or array.
void set(u32_t n)
Inserts n in the set.
Definition PointsTo.cpp:157
NodeID getBaseObjVarID(NodeID id) const
Base and Offset methods for Value and Object node.
Definition SVFIR.h:552
NodeBS & getAllFieldsObjVars(const BaseObjVar *obj)
Get all fields of an object.
Definition SVFIR.cpp:573
const SVFVar * getSVFVar(NodeID id) const
ObjVar/GepObjVar/BaseObjVar.
Definition SVFIR.h:133
NodeID getId() const
Get ID.
Definition SVFValue.h:161
virtual const std::string toString() const
Get string representation.
iterator begin() const
std::ostream & outs()
Overwrite llvm::outs()
Definition SVFUtil.h:52
for isBitcode
Definition BasicTypes.h:70
@ BVDataImpl
Represents BVDataPTAImpl.
Definition PTATY.h:42
@ CondImpl
Represents CondPTAImpl.
Definition PTATY.h:43
Set< NodeID > NodeSet
PTATY
Pointer analysis type list.
Definition PTATY.h:9
@ Cxt_DDA
context sensitive DDA
Definition PTATY.h:32
@ PathS_DDA
Guarded value-flow DDA.
Definition PTATY.h:31
u32_t NodeID
Definition GeneralType.h:56
AliasResult
Definition SVFType.h:636
@ MustAlias
Definition SVFType.h:639
@ MayAlias
Definition SVFType.h:638
@ NoAlias
Definition SVFType.h:637
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76