Skip to content

Extend boolean conversion to throw structured exceptions for other kinds of conversion error #2103

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

Closed
thk123 opened this issue Apr 23, 2018 · 1 comment · Fixed by #4691
Closed

Comments

@thk123
Copy link
Contributor

thk123 commented Apr 23, 2018

convert_bitvector currently throws an exception when something goes wrong with flatten_byte_extraction operations. This should be extended for other kinds of errors.

@martin-cs
Copy link
Collaborator

Some of them should probably be removed in favour of INVARIANTs of some kind.

tautschnig added a commit to tautschnig/cbmc that referenced this issue May 22, 2019
Byte-operator lowering no longer throws any exceptions, and thus don't
need to attempt to catch them either. Remove the entire infrastructure
built around these.

Fixes: diffblue#2103
tautschnig added a commit to tautschnig/cbmc that referenced this issue May 22, 2019
Byte-operator lowering no longer throws any exceptions, and thus don't
need to attempt to catch them either. Remove the entire infrastructure
built around these.

Fixes: diffblue#2103
tautschnig added a commit to tautschnig/cbmc that referenced this issue May 22, 2019
Byte-operator lowering no longer throws any exceptions, and thus don't
need to attempt to catch them either. Remove the entire infrastructure
built around these.

Fixes: diffblue#2103
tautschnig added a commit to tautschnig/cbmc that referenced this issue May 29, 2019
Byte-operator lowering no longer throws any exceptions, and thus don't
need to attempt to catch them either. Remove the entire infrastructure
built around these.

Fixes: diffblue#2103
Fixes: diffblue#2104
tautschnig added a commit to tautschnig/cbmc that referenced this issue May 30, 2019
Byte-operator lowering no longer throws any exceptions, and thus don't
need to attempt to catch them either. Remove the entire infrastructure
built around these.

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

Successfully merging a pull request may close this issue.

3 participants