Skip to content

Commit cb5463f

Browse files
committed
Add goto-convert before verifying candidate
1 parent fdea352 commit cb5463f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/goto-instrument/synthesizer/cegis_verifier.cpp

+8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Author: Qinheping Hu
1717
#include <util/pointer_predicates.h>
1818
#include <util/prefix.h>
1919

20+
#include <goto-programs/goto_convert_functions.h>
2021
#include <goto-programs/link_to_library.h>
2122
#include <goto-programs/pointer_arithmetic.h>
2223
#include <goto-programs/process_goto_program.h>
@@ -36,6 +37,8 @@ Author: Qinheping Hu
3637
#include <pointer-analysis/add_failed_symbols.h>
3738
#include <solvers/prop/prop.h>
3839

40+
#include <write_goto_binary.h>
41+
3942
static bool contains_symbol_prefix(const exprt &expr, const std::string &prefix)
4043
{
4144
if(
@@ -392,6 +395,11 @@ bool cegis_verifiert::verify()
392395
all_properties_verifier_with_trace_storaget<multi_path_symex_checkert>>(
393396
options, ui_message_handler, goto_model);
394397

398+
goto_convert(
399+
goto_model.symbol_table,
400+
goto_model.goto_functions,
401+
log.get_message_handler());
402+
395403
// Run the checker to get the result.
396404
const resultt result = (*checker)();
397405

0 commit comments

Comments
 (0)