Comments (3)
Flow- field- and context-sensitive value-flows constructed using flow-insensitive Andersen's pointer analysis.
from svf.
In BreakConstantExpr.cpp ,line 88, you code is
88 "static ConstantExpr *
89 hasConstantGEP (Value * V) {
90 if (ConstantExpr * CE = dyn_cast(V)) {
91 if (CE->getOpcode() == Instruction::GetElementPtr) {
92 return CE;
93} else {
94for (unsigned index = 0; index < CE->getNumOperands(); ++index) {
95if (hasConstantGEP (CE->getOperand(index)))
96return CE;
97}
98}
}
return 0;
}"
but I can't go to line 92 and 96, what is the instruction or code you can arrive the line 92 and 96?
from svf.
will reach 93-96 If "CE->getOpcode() == Instruction::GetElementPtr" is not true (operator other than GetElementPtr).
It recursively expands the constant expression to flat all GetElementPtr CEs.
from svf.
Related Issues (20)
- Performing reachability analysis between PAG edges HOT 1
- How to show more attributes on graphs? HOT 2
- How to create a CDG with SVF? HOT 25
- I encountered a segmentation fault.
- Failed to Extract Bc Files for Spec2006 HOT 1
- Hello, is there any mechanism in SVF to update TCT?
- How to run SVF on a C++ project? HOT 9
- dylib path issue on macOS
- How to maintain structure field-sensitivity across functions (in C)?
- How to modify PAG/ICFG? HOT 2
- Question regarding different modes of wpa
- [SVF API] Delete ICFG Node/Edge / Create new abstract ICFG from ground?
- Faced a crash on saber HOT 7
- Get pointer type in absence of `getPtrElementType` HOT 2
- Failed when using `getLLVMValue()` on Value got from `IntraICFGNode->getInst()`
- Type inference failure for linked list HOT 1
- SVF::FlowSensitive analyze failed HOT 3
- Flow sensitive wpa misses alias of global pointer? HOT 7
- Same Node but with Different Source Loc in -vfspta Pointer Analysis HOT 3
- Querying WPAPass APIs using LLVM Value* and CallInst* HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svf.