Comments (6)
@251 @JanWichelmann This issue should have been fixed in #1420.
from svf.
@shuangxiangkan could you take a look at this case?
from svf.
@251 Could you upload the bc file?
from svf.
Sure: test.zip. But keep in mind that assertions in LLVM have to be enabled, for distribution packages this is typically not the case.
from svf.
I ran into the same problem today. I managed to fix it by reverting this change, i.e., I replaced
glob->setInitializer(newCA);
by
auto globName = glob->getName();
glob->setName("llvm.global.annotations_old");
GlobalVariable *newGlob = new GlobalVariable(*module, annotationsType, glob->isConstant(), glob->getLinkage(), newCA, globName, glob, glob->getThreadLocalMode());
newGlob->setSection(glob->getSection());
newGlob->setAlignment(glob->getAlign());
glob->replaceAllUsesWith(newGlob);
glob->eraseFromParent();
in svf-llvm/lib/LLVMUtil.cpp.
from svf.
Works for me, thank you!
from svf.
Related Issues (20)
- some questions about complex nested struct HOT 3
- SVF::LLVMModuleSet::getLLVMModuleSet()->getMainLLVMModule() returns extapi.bc HOT 3
- Function data flow
- How does SVF handle external functions without entities during memory analysis? HOT 4
- load module failed HOT 1
- Abstract Execution Fails to Trace Correct Allocation Size HOT 2
- ExtAPI module cannot handle those functions with name mangling. HOT 5
- Assertion when using SVF on Ceph HOT 7
- On running a llvm pass before svf pag construction HOT 2
- Error when compiling LLVM HOT 1
- SVF-example project reports error when compiled with LLVM under Debug mode. HOT 8
- SVF::SVFValue has an empty name while LLVM::Value has a name HOT 1
- `SVF_INSTALL_INCLUDE_DIR` lacks svf suffix HOT 1
- 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?
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.