Skip to content

MMIO instrumentation cleanup #8175

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 3 commits into from
Feb 2, 2024

Conversation

tautschnig
Copy link
Collaborator

Code cleanup, status output, and a fix of the interaction between mm_io and remove_unused_functions. See individual commit messages for details.

  • 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.
  • n/a 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).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@tautschnig tautschnig force-pushed the cleanup/mm_io-sequence branch from 7192b0c to 8f51979 Compare February 2, 2024 10:46
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (f034dbb) 79.69% compared to head (7ee921b) 79.69%.

Files Patch % Lines
.../goto-instrument/goto_instrument_parse_options.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #8175   +/-   ##
========================================
  Coverage    79.69%   79.69%           
========================================
  Files         1680     1680           
  Lines       195242   195253   +11     
========================================
+ Hits        155604   155614   +10     
- Misses       39638    39639    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Use a class to maintain data that remains constant across calls.
Previously, there was no indication as to whether any transformation had
taken place.
__CPROVER_mm_io_{r,w} functions are unused until rewrites via mm_io are
done, which is only done when processing the input program by CBMC.
remove_unused_functions would spuriously remove the implementation of
these function, even when they may be needed. Therefore, run mm_io
instrumentation before removing unused functions.
@tautschnig tautschnig force-pushed the cleanup/mm_io-sequence branch from 8f51979 to 7ee921b Compare February 2, 2024 13:57
@tautschnig tautschnig merged commit 464d8eb into diffblue:develop Feb 2, 2024
@tautschnig tautschnig deleted the cleanup/mm_io-sequence branch February 2, 2024 16:15
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.

3 participants