Skip to content

Commit 746bff5

Browse files
author
Daniel Kroening
committed
remove_returns missing in symex
1 parent 211355d commit 746bff5

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

src/symex/symex_parse_options.cpp

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,24 @@ Author: Daniel Kroening, [email protected]
2626
#include <cpp/cpp_language.h>
2727
#include <java_bytecode/java_bytecode_language.h>
2828

29-
#include <goto-programs/initialize_goto_model.h>
3029
#include <goto-programs/goto_convert_functions.h>
31-
#include <goto-programs/show_properties.h>
32-
#include <goto-programs/set_properties.h>
33-
#include <goto-programs/read_goto_binary.h>
34-
#include <goto-programs/loop_ids.h>
35-
#include <goto-programs/link_to_library.h>
3630
#include <goto-programs/goto_inline.h>
37-
#include <goto-programs/xml_goto_trace.h>
31+
#include <goto-programs/initialize_goto_model.h>
32+
#include <goto-programs/link_to_library.h>
33+
#include <goto-programs/loop_ids.h>
34+
#include <goto-programs/read_goto_binary.h>
3835
#include <goto-programs/remove_complex.h>
36+
#include <goto-programs/remove_exceptions.h>
3937
#include <goto-programs/remove_function_pointers.h>
38+
#include <goto-programs/remove_instanceof.h>
39+
#include <goto-programs/remove_returns.h>
4040
#include <goto-programs/remove_skip.h>
41+
#include <goto-programs/remove_unused_functions.h>
4142
#include <goto-programs/remove_vector.h>
4243
#include <goto-programs/remove_virtual_functions.h>
43-
#include <goto-programs/remove_exceptions.h>
44-
#include <goto-programs/remove_instanceof.h>
45-
#include <goto-programs/remove_unused_functions.h>
44+
#include <goto-programs/set_properties.h>
45+
#include <goto-programs/show_properties.h>
46+
#include <goto-programs/xml_goto_trace.h>
4647

4748
#include <goto-symex/rewrite_union.h>
4849
#include <goto-symex/adjust_float_expressions.h>
@@ -304,6 +305,7 @@ bool symex_parse_optionst::process_goto_program(const optionst &options)
304305
goto_check(options, goto_model);
305306

306307
// remove stuff
308+
remove_returns(goto_model);
307309
remove_complex(goto_model);
308310
remove_vector(goto_model);
309311
// remove function pointers

0 commit comments

Comments
 (0)