We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
claripy is unable to abstract StringV from z3.
claripy
StringV
A traceback from: claripy.backend_manager.backends.z3.simplify(claripy.StringV("abc"))
claripy.backend_manager.backends.z3.simplify(claripy.StringV("abc"))
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/zwimer/.virtualenvs/test/lib/python3.10/site-packages/claripy/backends/backend_z3.py", line 92, in z3_condom return f(*args, **kwargs) File "/home/zwimer/.virtualenvs/test/lib/python3.10/site-packages/claripy/backends/backend_z3.py", line 1016, in simplify o = self._abstract(s) File "/home/zwimer/.virtualenvs/test/lib/python3.10/site-packages/claripy/backends/backend_z3.py", line 92, in z3_condom return f(*args, **kwargs) File "/home/zwimer/.virtualenvs/test/lib/python3.10/site-packages/claripy/backends/backend_z3.py", line 414, in _abstract return self._abstract_internal(e.ctx.ctx, e.ast) File "/home/zwimer/.virtualenvs/test/lib/python3.10/site-packages/claripy/backends/backend_z3.py", line 536, in _abstract_internal a = self._string_constant_from_ast(ctx, ast, decl) File "/home/zwimer/.virtualenvs/test/lib/python3.10/site-packages/claripy/backends/backend_z3.py", line 718, in _string_constant_from_ast raise BackendError("Weird Z3 model") claripy.errors.BackendError: Weird Z3 model
import claripy a = claripy.StringV("abc") claripy.backend_manager.backends.z3.simplify(a)
> mkvirtualenv test > pip install claripy
Before fixing this (and having it work fully), these issues need to be addressed:
z3
The text was updated successfully, but these errors were encountered:
zwimer
Successfully merging a pull request may close this issue.
Description
claripy
is unable to abstractStringV
from z3.A traceback from:
claripy.backend_manager.backends.z3.simplify(claripy.StringV("abc"))
Steps to reproduce the bug
Environment
Additional context
Before fixing this (and having it work fully), these issues need to be addressed:
z3
strings are abstracted to strings incorrectly Z3Prover/z3#6442The text was updated successfully, but these errors were encountered: