Skip to content

output "SET RETURN VALUE" when displaying goto programs #6435

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
Nov 3, 2021

Conversation

kroening
Copy link
Member

@kroening kroening commented Nov 3, 2021

To avoid the impression that the 'set return value' instruction alters
control flow, output "SET RETURN VALUE" instead of "RETURN" when displaying
goto programs.

  • 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).
  • 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.

To avoid the impression that the 'set return value' instruction alters
control flow, output "SET RETURN VALUE" instead of "RETURN" when displaying
goto programs.
@kroening kroening marked this pull request as ready for review November 3, 2021 18:05
@codecov
Copy link

codecov bot commented Nov 3, 2021

Codecov Report

Merging #6435 (c65874f) into develop (e5db980) will increase coverage by 0.00%.
The diff coverage is 95.65%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #6435   +/-   ##
========================================
  Coverage    76.00%   76.00%           
========================================
  Files         1527     1527           
  Lines       164454   164463    +9     
========================================
+ Hits        125000   125008    +8     
- Misses       39454    39455    +1     
Impacted Files Coverage Δ
src/solvers/smt2_incremental/smt_commands.h 100.00% <ø> (ø)
src/goto-symex/symex_dead.cpp 95.65% <94.44%> (-4.35%) ⬇️
src/goto-programs/goto_program.cpp 69.74% <100.00%> (ø)
...rc/solvers/smt2_incremental/smt_to_smt2_string.cpp 93.96% <100.00%> (ø)
...it/solvers/smt2_incremental/smt_to_smt2_string.cpp 100.00% <100.00%> (ø)

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 ce3fcaa...c65874f. Read the comment docs.

@kroening kroening merged commit f81c8c0 into develop Nov 3, 2021
@kroening kroening deleted the goto_program_return_output2 branch November 3, 2021 18:42
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