Do not assign a non-ssa expression to object accessed via an ssa_exprt reference#4725
Conversation
5878800 to
6b37154
Compare
963bced to
c9244d9
Compare
…_exprt ref Previously a variable `expr` of type `exprt &` was cast to `ssa_exprt &` and assigned to variable `ssa`. Later the object was modified via assigning a non-ssa expression to `expr`, violating the invariants of `ssa_exprt`.
c9244d9 to
862aa15
Compare
Codecov Report
@@ Coverage Diff @@
## develop #4725 +/- ##
==========================================
Coverage ? 68.45%
==========================================
Files ? 1270
Lines ? 104748
Branches ? 0
==========================================
Hits ? 71705
Misses ? 33043
Partials ? 0
Continue to review full report at Codecov.
|
allredj
left a comment
There was a problem hiding this comment.
This PR failed Diffblue compatibility checks (cbmc commit: 862aa15).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/113955224
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
Previously a variable
exprof typeexprt &was cast tossa_exprt &and assigned to variablessa. Later the object was modified via assigning a non-ssa expression toexpr, violating the invariants ofssa_exprt.