File tree 3 files changed +18
-6
lines changed
3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -957,6 +957,12 @@ bool cbmc_parse_optionst::process_goto_program(
957
957
// checks don't know about adjusted float expressions
958
958
adjust_float_expressions (goto_model);
959
959
960
+ if (options.get_bool_option (" string-abstraction" ))
961
+ {
962
+ log .status () << " String Abstraction" << messaget::eom;
963
+ string_abstraction (goto_model, log .get_message_handler ());
964
+ }
965
+
960
966
// ignore default/user-specified initialization
961
967
// of variables with static lifetime
962
968
if (options.get_bool_option (" nondet-static" ))
@@ -967,12 +973,6 @@ bool cbmc_parse_optionst::process_goto_program(
967
973
nondet_static (goto_model);
968
974
}
969
975
970
- if (options.get_bool_option (" string-abstraction" ))
971
- {
972
- log .status () << " String Abstraction" << messaget::eom;
973
- string_abstraction (goto_model, log .get_message_handler ());
974
- }
975
-
976
976
// add failed symbols
977
977
// needs to be done before pointer analysis
978
978
add_failed_symbols (goto_model.symbol_table );
Original file line number Diff line number Diff line change @@ -913,6 +913,12 @@ bool goto_analyzer_parse_optionst::process_goto_program(
913
913
// checks don't know about adjusted float expressions
914
914
adjust_float_expressions (goto_model);
915
915
916
+ if (options.get_bool_option (" string-abstraction" ))
917
+ {
918
+ log .status () << " String Abstraction" << messaget::eom;
919
+ string_abstraction (goto_model, log .get_message_handler ());
920
+ }
921
+
916
922
// recalculate numbers, etc.
917
923
goto_model.goto_functions .update ();
918
924
Original file line number Diff line number Diff line change @@ -310,6 +310,12 @@ bool goto_diff_parse_optionst::process_goto_program(
310
310
// checks don't know about adjusted float expressions
311
311
adjust_float_expressions (goto_model);
312
312
313
+ if (options.get_bool_option (" string-abstraction" ))
314
+ {
315
+ log .status () << " String Abstraction" << messaget::eom;
316
+ string_abstraction (goto_model, log .get_message_handler ());
317
+ }
318
+
313
319
// recalculate numbers, etc.
314
320
goto_model.goto_functions .update ();
315
321
You can’t perform that action at this time.
0 commit comments