Skip to content

Commit 3ff3d8f

Browse files
author
martin
committed
Add memory mapped IO support to goto-analyzer
This does add functionality but it is of the "used to be silently ignored but now sort of works or maybe breaks" kind.
1 parent c61056d commit 3ff3d8f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/goto-analyzer/goto_analyzer_parse_options.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ Author: Daniel Kroening, [email protected]
3131
#include <goto-programs/goto_convert_functions.h>
3232
#include <goto-programs/goto_inline.h>
3333
#include <goto-programs/initialize_goto_model.h>
34+
#include <goto-programs/instrument_preconditions.h>
3435
#include <goto-programs/link_to_library.h>
36+
#include <goto-programs/mm_io.h>
3537
#include <goto-programs/process_goto_program.h>
3638
#include <goto-programs/read_goto_binary.h>
3739
#include <goto-programs/remove_complex.h>
@@ -898,6 +900,11 @@ bool goto_analyzer_parse_optionst::process_goto_program(
898900
remove_function_pointers(
899901
ui_message_handler, goto_model, options.get_bool_option("pointer-check"));
900902

903+
mm_io(goto_model);
904+
905+
// instrument library preconditions
906+
instrument_preconditions(goto_model);
907+
901908
// do partial inlining
902909
log.status() << "Partial Inlining" << messaget::eom;
903910
goto_partial_inline(goto_model, ui_message_handler);

0 commit comments

Comments
 (0)