checkedc icon indicating copy to clipboard operation
checkedc copied to clipboard

Flow-sensitive bounds declarations within expressions

Open dtarditi opened this issue 5 years ago • 0 comments

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.

dtarditi avatar Apr 18 '19 22:04 dtarditi