Comments (4)
Seems like a bug in -cutoff-diverging
option. You can workaround it for now with -cutoff-diverging=0
. Do you have some small test-case that would allow to reproduce this bug?
from dg.
Hi,
I tested the “-cutoff-diverging=0” option, and it seems not to work.
I put my data of proof-of-concept to reproduce this bug in the public git repo.
And the link is:
https://github.com/Clingto/POC/tree/master/POCs-DG/ngiflib
And it contains:
1、The source code of program is in the file directory "code";
2、I built the ngiflib program with bash script ("build_ngiflib_bin.sh");
3、I sliced it with dg/llvm-slicer tool with bash script ("slice_ngiflib_bin.sh")
4、My original ".bc" file is in the file directory "SRC_bin/test_slice.bc";
5、Environment:
clang version 6.0.0
mchalupa/dg version is git ce1b072
from dg.
Seems like a bug in
-cutoff-diverging
option. You can workaround it for now with-cutoff-diverging=0
. Do you have some small test-case that would allow to reproduce this bug?
Hi,
I tested the “-cutoff-diverging=0” option, and it seems not to work.
I put my data of proof-of-concept to reproduce this bug in the public git repo.
And the link is:
https://github.com/Clingto/POC/tree/master/POCs-DG/ngiflib
And it contains:
1、The source code of program is in the file directory "code";
2、I built the ngiflib program with bash script ("build_ngiflib_bin.sh");
3、I sliced it with dg/llvm-slicer tool with bash script ("slice_ngiflib_bin.sh")
4、My original ".bc" file is in the file directory "SRC_bin/test_slice.bc";
5、Environment:
clang version 6.0.0
mchalupa/dg version is git ce1b072
from dg.
Seems like a bug in
-cutoff-diverging
option. You can workaround it for now with-cutoff-diverging=0
. Do you have some small test-case that would allow to reproduce this bug?
Looking forward to your reply.
Thanks.
from dg.
Related Issues (20)
- How to `llvm-to-source` a `.sliced` file that is obtained from a linked bitcode file HOT 2
- How to slice the following c++ file? HOT 3
- install error HOT 11
- Slice results only from DDG HOT 5
- the results of slicing seems wrong HOT 5
- version of SVF used HOT 5
- How to slice the program accurately HOT 12
- Address boundary error when building dg graph in Make 4.2 HOT 4
- llvm-slicer hangs somewhere when slicing sqlite-3.38.0 HOT 6
- Intra-procedural slicing HOT 1
- Slice process is blocked HOT 9
- Please update SVFPointerAnalysis.h in dg due to SVF updated. HOT 2
- [Question] Is it possible to use dg to slice and analyze Linux source code? HOT 3
- Build failed HOT 6
- Is data-dependence analysis driven by self-defined pointer analysis or SVF? HOT 8
- Can DG only do data dependency analysis without program slicing? HOT 1
- Support LLVM 18
- pta-show tool not working due to llvm-pta-dump incorrect dot syntax output HOT 1
- It there any way to preserve instructions depends on or depended by sliced criterions? HOT 6
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 dg.