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

Add tests checking if Kani detects dangling pointer dereference inside println macro #3280

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

artemagvanian
Copy link
Contributor

Extract tests from the discussion in #3235.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@artemagvanian artemagvanian requested a review from a team as a code owner June 21, 2024 16:20
@artemagvanian artemagvanian changed the title Add tests checking if Kani detects dangling pointer dereference inside println macro (#3235). Add tests checking if Kani detects dangling pointer dereference inside println macro Jun 21, 2024
Copy link
Contributor

@celinval celinval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks

tests/expected/dangling-ptr-println/main.rs Outdated Show resolved Hide resolved
Co-authored-by: Celina G. Val <celinval@amazon.com>
@artemagvanian artemagvanian merged commit 12ff35f into model-checking:main Jun 21, 2024
25 checks passed
@artemagvanian artemagvanian deleted the dangling-ptr-println branch June 21, 2024 16:58
@artemagvanian artemagvanian self-assigned this Jul 19, 2024
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.

2 participants