diffblue-cbmc/regression/cbmc/Local_out_of_scope3
Michael Tautschnig 369f077d2e Do not assign to objects that have gone out of scope
Pointer dereferencing may yield objects that have meanwhile gone out of scope.
Assigning to them is unnecessary, and performing a merge on those would yield
inconsistent equations (as witnessed by the included regression test).

Filtering out the merge in phi nodes is not easily possible as there are several
cases where it is permissible that only one of the states entering the phi node
has an (L1) object, such as declarations only seen in one branch.

Fixes: #1115
2017-07-11 21:04:15 +01:00
..
main.c Do not assign to objects that have gone out of scope 2017-07-11 21:04:15 +01:00
test.desc Do not assign to objects that have gone out of scope 2017-07-11 21:04:15 +01:00