File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ Date: September 2009
17
17
#include < util/std_expr.h>
18
18
#include < util/suffix.h>
19
19
20
- #include " goto_model.h "
20
+ #include < goto-symex/shadow_memory.h >
21
21
22
+ #include " goto_model.h"
22
23
#include " remove_skip.h"
23
24
24
25
#define RETURN_VALUE_SUFFIX " #return_value"
@@ -225,7 +226,10 @@ void remove_returnst::operator()(goto_functionst &goto_functions)
225
226
findit != goto_functions.function_map .end (),
226
227
" called function `" + id2string (function_id) +
227
228
" ' should have an entry in the function map" );
228
- return !findit->second .body_available ();
229
+ return !findit->second .body_available () &&
230
+ function_id != CPROVER_PREFIX SHADOW_MEMORY_FIELD_DECL &&
231
+ function_id != CPROVER_PREFIX SHADOW_MEMORY_GET_FIELD &&
232
+ function_id != CPROVER_PREFIX SHADOW_MEMORY_SET_FIELD;
229
233
};
230
234
231
235
replace_returns (gf_entry.first , gf_entry.second );
You can’t perform that action at this time.
0 commit comments