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

Reduce the usage of projectLLVM_bv #40

Open
RyanGlScott opened this issue Jul 25, 2024 · 0 comments
Open

Reduce the usage of projectLLVM_bv #40

RyanGlScott opened this issue Jul 25, 2024 · 0 comments
Labels
tech-debt Technical debt

Comments

@RyanGlScott
Copy link
Collaborator

The Crucible-LLVM function projectLLVM_bv takes a pointer, asserts that it is a bitvector, and returns the bitvector value. The problem is that when this assertion fails, it does so with a generic and unhelpful error message. stubs should avoid this function, and instead provide more detailed messages that match the level of abstraction of the program under test (e.g., "attempted to divide by a pointer").

See GaloisInc/crucible#1220 for how this was done in Crucible-LLVM.

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

No branches or pull requests

1 participant