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

Prune Away Trivially-Proven Assertions #751

Open
shaobo-he opened this issue Aug 12, 2021 · 0 comments
Open

Prune Away Trivially-Proven Assertions #751

shaobo-he opened this issue Aug 12, 2021 · 0 comments

Comments

@shaobo-he
Copy link
Contributor

For memory safety checking and integer overflow checking, we instrument the relevant instructions with checks uniformly whereas a lot of them can be trivially proven. For example, dereferencing a stack variable can be obviously correct.

For memory safety checking, we can adopt SeaHorn's approach where a simple analysis at the LLVM IR level is used to remove trivially proven checks.

For integer overflow checking, we can use an interval analysis (i.e., those provided by crab to do similar things.

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

No branches or pull requests

1 participant