Skip to content

No need to track write set with temporary variables #6327

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

Merged
merged 4 commits into from
Sep 2, 2021

Conversation

feliperodri
Copy link
Collaborator

  • Each commit message has a non-empty body, explaining why the change was made.
  • Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@feliperodri feliperodri added bugfix aws Bugs or features of importance to AWS CBMC users Code Contracts Function and loop contracts labels Sep 2, 2021
@feliperodri feliperodri self-assigned this Sep 2, 2021
@codecov
Copy link

codecov bot commented Sep 2, 2021

Codecov Report

Merging #6327 (17983dc) into develop (f8cca6c) will decrease coverage by 0.00%.
The diff coverage is 84.61%.

❗ Current head 17983dc differs from pull request most recent head 43f0f89. Consider uploading reports for the commit 43f0f89 to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #6327      +/-   ##
===========================================
- Coverage    75.91%   75.90%   -0.01%     
===========================================
  Files         1514     1514              
  Lines       163984   163942      -42     
===========================================
- Hits        124485   124442      -43     
- Misses       39499    39500       +1     
Impacted Files Coverage Δ
src/goto-instrument/contracts/assigns.h 100.00% <ø> (ø)
src/solvers/smt2/smt2_conv.cpp 66.48% <0.00%> (-0.03%) ⬇️
src/goto-instrument/contracts/assigns.cpp 97.72% <85.71%> (-0.57%) ⬇️
src/goto-instrument/contracts/contracts.cpp 92.33% <100.00%> (-0.19%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 318101f...43f0f89. Read the comment docs.

No need to track write set with temporary variables.
This also avoids reporting NULL dereferences when users
adds targets that might be NULL in the assigns clause.

Signed-off-by: Felipe R. Monteiro <[email protected]>
Avoid escaping unnecessary characters.

Signed-off-by: Felipe R. Monteiro <[email protected]>
Copy link
Contributor

@SaswatPadhi SaswatPadhi left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Thanks!

@feliperodri feliperodri merged commit f0ab57e into diffblue:develop Sep 2, 2021
@feliperodri feliperodri deleted the free-assigns branch September 2, 2021 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws Bugs or features of importance to AWS CBMC users bugfix Code Contracts Function and loop contracts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants