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

CN VIP: Annotate VIP tests with CN #384

Merged
merged 8 commits into from
Jul 15, 2024
Merged

CN VIP: Annotate VIP tests with CN #384

merged 8 commits into from
Jul 15, 2024

Conversation

dc-mak
Copy link
Contributor

@dc-mak dc-mak commented Jul 15, 2024

This is to just get these files into master. They are not being tested in CI yet.

dc-mak added 8 commits July 15, 2024 15:05
Mostly just commenting out stdio.h and printf uses.
Still need to add CN annotations, and -D flag for CN.
This serves as a good sanity check and also highlights the features
missing in CN to prioritise.
This makes it clearer what functionality is missing.
There's no way to assert in a pre-condition that the value of an integer
is equal to the address of a local and so this test becomes unprovable
in CN. There is already a different test (pointer_from_integer_1ig.c)
which adds this constraint by adding an `if (p==&j)` before writing to
*p.
@dc-mak dc-mak merged commit 392215a into master Jul 15, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant