12 #ifndef CPROVER_GOTO_SYNTHESIZER_DUMP_LOOP_CONTRACTS_H
13 #define CPROVER_GOTO_SYNTHESIZER_DUMP_LOOP_CONTRACTS_H
22 const std::map<loop_idt, exprt> &invariant_map,
23 const std::map<
loop_idt, std::set<exprt>> &assigns_map,
24 const std::string &json_output_str,
27 #define OPT_DUMP_LOOP_CONTRACTS "(json-output):(dump-loop-contracts)"
30 #define HELP_DUMP_LOOP_CONTRACTS \
31 " --dump-loop-contracts dump synthesized loop contracts as JSON\n" \
32 " --json-output <file> specify the output destination of the dumped loop contracts\n"
void dump_loop_contracts(goto_modelt &goto_model, const std::map< loop_idt, exprt > &invariant_map, const std::map< loop_idt, std::set< exprt >> &assigns_map, const std::string &json_output_str, std::ostream &out)
Loop id used to identify loops.