File tree 3 files changed +19
-1
lines changed
regression/cbmc-concurrency/graphml_witness1
3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
1
+ int global ;
2
+
3
+ int main ()
4
+ {
5
+ __CPROVER_ASYNC_1 : global = 1 ;
6
+ global = 2 ;
7
+ assert (global == 2 ); // to fail
8
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --graphml-witness -
4
+ ^EXIT=10$
5
+ ^SIGNAL=0$
6
+ ^VERIFICATION FAILED$
7
+ <graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8
+ </graphml>
9
+ --
10
+ ^warning: ignoring
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ static bool filter_out(
141
141
goto_tracet::stepst::const_iterator &it)
142
142
{
143
143
if (it->hidden &&
144
- (!it->is_assignment () ||
144
+ (!it->pc -> is_assign () ||
145
145
to_code_assign (it->pc ->code ).rhs ().id ()!=ID_side_effect ||
146
146
to_code_assign (it->pc ->code ).rhs ().get (ID_statement)!=ID_nondet))
147
147
return true ;
You can’t perform that action at this time.
0 commit comments