1#ifndef CPROVER_GOTO2C_H
2#define CPROVER_GOTO2C_H
66 void extract_symbol_tables();
67 void extract_initializers_from_esbmc_main();
68 void simplify_initializers();
69 void sort_compound_types(
namespacet &
ns, std::list<typet> &types);
70 void sort_compound_types_rec(
72 std::list<typet> &sorted_types,
73 std::set<typet> &observed_types,
76 void remove_unsupported_instructions(
goto_programt &goto_program);
79 void adjust_invalid_assignment_rec(
103 void check_guard(
const expr2tc &guard);
Definition irep2_expr.h:2007
void preprocess()
Definition goto2c_preprocess.cpp:8
std::map< std::string, std::list< typet > > local_types
Definition goto2c.h:58
std::list< symbolt > global_vars
Definition goto2c.h:54
goto_functionst get_goto_functions()
Definition goto2c.h:38
goto_functionst goto_functions
Definition goto2c.h:50
void check(goto_functionst &goto_functions)
void preprocess(goto_programt::instructiont &instruction)
std::list< symbolt > fun_decls
Definition goto2c.h:52
namespacet get_namespace()
Definition goto2c.h:43
namespacet & ns
Definition goto2c.h:49
std::map< std::string, exprt > initializers
Definition goto2c.h:56
goto2ct(namespacet &_ns, goto_functionst _goto_functions)
Definition goto2c.h:11
std::map< std::string, std::list< symbolt > > local_static_vars
Definition goto2c.h:59
std::string translate()
Definition goto2c_translate.cpp:8
std::list< typet > global_types
Definition goto2c.h:53
void check()
Definition goto2c_check.cpp:3
std::list< symbolt > extern_vars
Definition goto2c.h:55
Definition goto_functions.h:56
Definition goto_functions.h:23
Container for an instruction of the goto-program.
Definition goto_program.h:95
A generic container class for a control flow graph for one function, in the form of a goto-program.
Definition goto_program.h:63
std::list< class instructiont > instructionst
Definition goto_program.h:588
Definition namespace.h:10
irep_container< expr2t > expr2tc
Definition irep2.h:431