Skip to content
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

use error #851

Open
sanqudui8ban opened this issue Jan 4, 2022 · 5 comments
Open

use error #851

sanqudui8ban opened this issue Jan 4, 2022 · 5 comments

Comments

@sanqudui8ban
Copy link

Unknown command line argument '-z3-path=/home/op/souper-main/third_party/z3-install/bin/z3'

@sanqudui8ban
Copy link
Author

i use the opt that i compiled order by the README. When i run this cmd : opt -load libsouperPass.so -souper
-o /home/op/file.opt.bc
/home/op/Desktop/1.bc -z3-path=/home/op/souper-main/third_party/z3-install/bin/z3
it said Unknown command line argument '-z3-path'

@urd00m
Copy link

urd00m commented Feb 7, 2023

Same issue as above

@urd00m
Copy link

urd00m commented Feb 10, 2023

I think I've found a fix. Their documentation is a little outdated but try this

opt -load-pass-plugin <path_to_souper_build>/libsouperPass.so -passes='function(souper),dce' -souper-use-cegis -souper-synthesis-comps=and,or,ne,xor,const,add,sub,ashr -S <input.bc> -o <output.bc>

that worked for me to run souper on an input bytecode file, you can also play around with the options for souper

@sanqudui8ban
Copy link
Author

Thanks for share this. I'll try it.

@ParkHanbum
Copy link

how about considering this usage append to README.md?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants