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

Support SMT-LIB's str.to_code and str.from_code functions over strings #222

Open
RyanGlScott opened this issue Nov 21, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@RyanGlScott
Copy link
Contributor

Currently, what4's symbolic String API does not really offer a way to convert individual characters in a string to bytes (or vice versa). SMT-LIB 2's str.to_code and str.from_code functions offer a way to accomplish this. str.to_code converts a single-character string to its code point (represented as an Integer), and str.from_code converts a code point back to a string. We should offer what4 versions of these functions.

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

No branches or pull requests

1 participant