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
z3
For example:
null = z3.StringVal("\0").as_string() print(len(null), null)
Returns 4 \u{}
4 \u{}
This does not happen for other characters, validated via:
import z3 for i in range(255): if len(z3.StringVal(chr(i)).as_string()) != 1: print(i)
This printed out only 0.
0
I suspect the issue is that some function returns \u{} instead of \u{0}; thus it is not recognized as a unicode character as \u{1} might be.
\u{}
\u{0}
\u{1}
The text was updated successfully, but these errors were encountered:
If z3 does not permit null bytes within strings, I think this is still invalid behavior.
Sorry, something went wrong.
4c1a3fa
No branches or pull requests
For example:
Returns
4 \u{}
This does not happen for other characters, validated via:
This printed out only
0
.I suspect the issue is that some function returns
\u{}
instead of\u{0}
; thus it is not recognized as a unicode character as\u{1}
might be.The text was updated successfully, but these errors were encountered: