@@ -104,9 +104,7 @@ void bmct::error_trace()
104
104
}
105
105
106
106
// / outputs witnesses in graphml format
107
- void bmct::output_graphml (
108
- resultt result,
109
- const goto_functionst &goto_functions)
107
+ void bmct::output_graphml (resultt result)
110
108
{
111
109
const std::string graphml=options.get_option (" graphml-witness" );
112
110
if (graphml.empty ())
@@ -413,7 +411,7 @@ safety_checkert::resultt bmct::execute(const goto_functionst &goto_functions)
413
411
symex.remaining_vccs ==0 )
414
412
{
415
413
report_success ();
416
- output_graphml (resultt::SAFE, goto_functions );
414
+ output_graphml (resultt::SAFE);
417
415
return safety_checkert::resultt::SAFE;
418
416
}
419
417
@@ -508,12 +506,12 @@ safety_checkert::resultt bmct::decide(
508
506
prop_conv.set_message_handler (get_message_handler ());
509
507
510
508
if (options.get_bool_option (" stop-on-fail" ))
511
- return stop_on_fail (goto_functions, prop_conv);
509
+ return stop_on_fail (prop_conv);
512
510
else
513
511
return all_properties (goto_functions, prop_conv);
514
512
}
515
513
516
- void bmct::show (const goto_functionst &goto_functions )
514
+ void bmct::show ()
517
515
{
518
516
if (options.get_bool_option (" show-vcc" ))
519
517
{
@@ -526,15 +524,13 @@ void bmct::show(const goto_functionst &goto_functions)
526
524
}
527
525
}
528
526
529
- safety_checkert::resultt bmct::stop_on_fail (
530
- const goto_functionst &goto_functions,
531
- prop_convt &prop_conv)
527
+ safety_checkert::resultt bmct::stop_on_fail (prop_convt &prop_conv)
532
528
{
533
529
switch (run_decision_procedure (prop_conv))
534
530
{
535
531
case decision_proceduret::resultt::D_UNSATISFIABLE:
536
532
report_success ();
537
- output_graphml (resultt::SAFE, goto_functions );
533
+ output_graphml (resultt::SAFE);
538
534
return resultt::SAFE;
539
535
540
536
case decision_proceduret::resultt::D_SATISFIABLE:
@@ -545,7 +541,7 @@ safety_checkert::resultt bmct::stop_on_fail(
545
541
dynamic_cast <bv_cbmct &>(prop_conv), equation, ns);
546
542
547
543
error_trace ();
548
- output_graphml (resultt::UNSAFE, goto_functions );
544
+ output_graphml (resultt::UNSAFE);
549
545
}
550
546
551
547
report_failure ();
0 commit comments