-
Notifications
You must be signed in to change notification settings - Fork 31
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
Update and expand examples #68
base: master
Are you sure you want to change the base?
Conversation
… how to use SVF from a custom LLVM pass during the default compiler pass; now shows how to use SVF from the SVF package & transient dependencies; updated READMEs and compiler commands accordingly
Thanks for your contribution @Johanmyst . I am wondering whether this patch supports linking the debug version of SVF so developer can debug SVF code. Currently this function is implemented like this, which link the debug-version SVF if SVF-example is built in debug mode and release-version otherwise. |
I also tried building current SVF-example with your patch but get the error: |
As far as I am aware (I tested both builds) this should happen automatically. Whichever version you build, once you run Note that you could also install both build types (in separate locations) and specify whichever you want by prioritising it through the If you encounter issues with this, please let me know as in my tests this seemed to work perfectly fine! |
Ah, this is because the pre-built Z3 libraries don't seem to come with the cmake package files. I thought I addressed this in this commit (#1460). In that commit I made the Z3 CMake package non-mandatory; if it was not found I simply applied the "old way" of searching for the Z3 files manually. I used Was the SVF build you were using when you saw this error including this last commit (#1460)? If so, I could just replace the |
See this pull request #1460