-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slice process is blocked #446
Comments
What is the bitcode? How big is the program? |
Hi, I put my data of proof-of-concept to reproduce this bug in the public git repo. And the link is: And it contains: |
Seems that the bitcode is just too complicated for the analyses (points-to analysis), so it just computes very long. The points-to analysis in DG is very inefficient... |
Hi, As my goal doesn't need precise pointer analysis but only needs coarse-grained analysis, I wonder whether DG can slice the instructions, which shows how the input can affect the "size" parameter of "call malloc(size)" instruction and affect the "pointer" parameter of "call free(pointer)" instruction. Or slice the instructions, which show how to reach the "call malloc(size)" instruction no matter whether it is intra-function or inter-function? Can I use DG to achieve it directly? or may I do some modification of DG to accomplish this and how? Thank you very much. |
It depends on what do you mean by "show how the input can affect XXX". DG can compute an interprocedural dependence graph and from that you can get the information about which instructions may be influenced by what instructions. |
My "show how the input affects XXX" refers to the path from when the input file is loaded until execution to the affected XXX instruction. |
By path you mean a path in the CFG of the program? From the dependence graph, all the statements that are backward reachable from the ,,destination'' instructions may affect the destination instruction. That is how you get the slice. |
Yes. |
The command |
The command:
And the running:
Could you please give me some advice?
Thanks.
The text was updated successfully, but these errors were encountered: