Skip to content

Restrict taking addresses of variables that have bounds expressions. #212

@dtarditi

Description

@dtarditi

This is described in the last paragraph of Section 3.1 of version 0.6 of the Checked C specification. We need to enforce this restriction.

We do allow the addresses of variables to be taken in bounds expressions. However, the address cannot be used to access memory in the bounds expression. It would be sufficient for now to not allow any dereference operators in the bounds expression. We also need to enforce this ussue.

Metadata

Metadata

Assignees

Labels

featureThis labels new features and enhancements.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions