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

z3 error when using more recent version of z3 #167

Open
paulgazz opened this issue Mar 1, 2022 · 1 comment
Open

z3 error when using more recent version of z3 #167

paulgazz opened this issue Mar 1, 2022 · 1 comment

Comments

@paulgazz
Copy link
Member

paulgazz commented Mar 1, 2022

When running -sourcelinePC, e.g., java superc.SuperC -sourcelinePC sourcelines kernel/bpf/cgroup.c, on com.microsoft.z3-4.8.12.0.jar, we get the following error, which doesn't occur with com.microsoft.z3-4.8.7.0.jar:

java.lang.NoSuchMethodError: 'com.microsoft.z3.BoolExpr com.microsoft.z3.Context.mkAnd(com.microsoft.z3.BoolExpr[])'
	at superc.core.PresenceConditionManager$PresenceConditionBDD.bddToZ3(PresenceConditionManager.java:1178)
	at superc.core.PresenceConditionManager$PresenceConditionBDD.toSMT2(PresenceConditionManager.java:1186)
	at superc.SuperC$ConditionalBlock.toString(SuperC.java:163)
	at superc.SuperC.parse(SuperC.java:970)
	at xtc.util.Tool.run(Tool.java:502)
	at superc.SuperC.main(SuperC.java:2012)
@paulgazz
Copy link
Member Author

paulgazz commented Mar 1, 2022

Fixed by using working version on z3, but should look into why there is this loss of backwards compatibility.

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

No branches or pull requests

1 participant