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

Flow-sensitive bounds declarations within expressions #348

Open
dtarditi opened this issue Apr 18, 2019 · 0 comments
Open

Flow-sensitive bounds declarations within expressions #348

dtarditi opened this issue Apr 18, 2019 · 0 comments

Comments

@dtarditi
Copy link
Contributor

We allow flow-sensitive bounds declarations for variables at the level of expression statements. However, expressions in C can themselves have control-flow, so we could allow flow-sensitive bounds declarations at the level of assignments within expressions. This would make sense for cases like e1, e2, e3 or e1 ? e2 : e3.

We would need to describe how flow-sensitively determine bounds declarations. We could follow the same pattern used in checking of bounds declarations for analyzing expressions, except gather bounds declarations instead.

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