-
Notifications
You must be signed in to change notification settings - Fork 440
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
Faced a crash on saber #1437
Comments
Are you using the latest SVF? If so, please use llvm-16 to compile your bc. |
Thanks for the reply! Maybe I can not change the bc, is there any LLVM-15 version for SVF that I can use? |
SVF-1.9 works for llvm-14 |
Dear Sir, I used the LLVM-16 to build my IR again but still faced this problem. It seems that it is not a version problem. I upload my bc here. Thanks! |
@jumormt you could take a look at this? It might because of missing a pag edge during svfir builder |
The bug is caused by trying connecting a direct value-flow from an integer to pointer (int2ptr instruction) when building a PTR only value flow graph. The source PAGNode (integer) does not have a definition on PTROnly SVFG, which raises the assertion. A possible solution is to check whether the source and destination PAG Node are both pointers when constructing PTROnly SVFG. @yuleisui @tangken333 |
Thanks for your help! I will try it again. |
Faced a crash while running the saber for a llvm-15 IR.

The IR file is attached.
Uploading zkevm_circuits-039281c79cc41144.ll.zip…
The text was updated successfully, but these errors were encountered: