Skip to content

Add a test that deallocates a stack variable#2717

Merged
zhassan-aws merged 1 commit into
model-checking:mainfrom
zhassan-aws:dealloc-stack-test
Aug 29, 2023
Merged

Add a test that deallocates a stack variable#2717
zhassan-aws merged 1 commit into
model-checking:mainfrom
zhassan-aws:dealloc-stack-test

Conversation

@zhassan-aws

Copy link
Copy Markdown
Contributor

Description of changes:

Add a new test to our regressions that checks that Kani properly flags the deallocation of a stack variable as a failure.

I did a quick grep, and didn't find a similar test with that has this check failing.

Resolved issues:

Related RFC:

Optional #ISSUE-NUMBER.

Call-outs:

Testing:

  • How is this change tested?

  • Is this a refactor change?

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

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

@zhassan-aws zhassan-aws requested a review from a team as a code owner August 29, 2023 19:16
@zhassan-aws zhassan-aws merged commit 84a39b9 into model-checking:main Aug 29, 2023
@zhassan-aws zhassan-aws deleted the dealloc-stack-test branch August 29, 2023 21:09
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