Closed kkjeer closed 3 years ago
Fixes #1158
This PR updates the bounds checking behavior for lvalue expressions with bounds-safe interfaces in unchecked scopes.
If:
S
e
e = e1
e1
The bounds of e are not validated after checking S.
Fixes #1158
This PR updates the bounds checking behavior for lvalue expressions with bounds-safe interfaces in unchecked scopes.
If:
S
is in an unchecked scope, and:e
has unchecked pointer type (its bounds were declared using a bounds-safe interface), and:S
does not contain an assignmente = e1
wheree1
is a checked pointer, then:The bounds of
e
are not validated after checkingS
.