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

Atomic signed integer overflows should not violate SV-COMP no-overflow property #1621

Open
sim642 opened this issue Nov 5, 2024 · 0 comments
Labels
feature precision sv-comp SV-COMP (analyses, results), witnesses

Comments

@sim642
Copy link
Member

sim642 commented Nov 5, 2024

According to C11, incrementing an atomic signed integer to overflow is not undefined behavior, but defined to wrap around. Therefore, it doesn't violate SV-COMP's no-overflow property.

@sim642 sim642 added feature sv-comp SV-COMP (analyses, results), witnesses precision labels Nov 5, 2024
@sim642 sim642 changed the title Atomic signed integer overflows should not violated SV-COMP no-overflow property Atomic signed integer overflows should not violate SV-COMP no-overflow property Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature precision sv-comp SV-COMP (analyses, results), witnesses
Projects
None yet
Development

No branches or pull requests

1 participant