Skip to content

symex: use lhs/rhs instead of code_assignt #5868

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 1 commit into from
Feb 25, 2021

Conversation

kroening
Copy link
Member

This replaces the use of code_assignt by an explicit lhs/rhs pair in goto
symex. This avoids constructing the code_assignt in a number of places.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a 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).
  • 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.

This replaces the use of code_assignt by an explicit lhs/rhs pair in goto
symex.  This avoids constructing the code_assignt in a number of places.
@codecov
Copy link

codecov bot commented Feb 25, 2021

Codecov Report

Merging #5868 (e7429be) into develop (e0700db) will decrease coverage by 0.00%.
The diff coverage is 93.58%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #5868      +/-   ##
===========================================
- Coverage    72.90%   72.90%   -0.01%     
===========================================
  Files         1423     1423              
  Lines       154230   154206      -24     
===========================================
- Hits        112440   112419      -21     
+ Misses       41790    41787       -3     
Impacted Files Coverage Δ
src/analyses/global_may_alias.cpp 0.00% <0.00%> (ø)
src/goto-diff/change_impact.cpp 0.00% <ø> (ø)
src/goto-programs/goto_convert_class.h 87.30% <ø> (ø)
src/goto-symex/auto_objects.cpp 21.95% <0.00%> (+0.52%) ⬆️
src/goto-symex/goto_symex.h 92.30% <ø> (ø)
src/goto-symex/symex_function_call.cpp 92.89% <50.00%> (+0.50%) ⬆️
src/goto-programs/goto_program.h 90.03% <66.66%> (ø)
src/analyses/constant_propagator.cpp 93.92% <100.00%> (-0.02%) ⬇️
src/analyses/custom_bitvector_analysis.cpp 54.97% <100.00%> (-0.12%) ⬇️
src/analyses/escape_analysis.cpp 64.31% <100.00%> (-0.47%) ⬇️
... and 22 more

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 99741b3...e7429be. Read the comment docs.

@kroening kroening marked this pull request as ready for review February 25, 2021 17:19
@tautschnig tautschnig merged commit 2532b29 into develop Feb 25, 2021
@tautschnig tautschnig deleted the avoid_symex_code_assignt branch February 25, 2021 20:56
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