cprover
|
Go to the source code of this file.
Classes | |
struct | main_function_resultt |
Functions | |
bool | java_entry_point (class symbol_tablet &symbol_table, const irep_idt &main_class, class message_handlert &message_handler, bool assume_init_pointers_not_null, size_t max_nondet_array_length) |
find entry point and create initialization code for function symbol_table main class message_handler More... | |
main_function_resultt | get_main_symbol (symbol_tablet &symbol_table, const irep_idt &main_class, message_handlert &, bool allow_no_body=false) |
main_function_resultt get_main_symbol | ( | symbol_tablet & | symbol_table, |
const irep_idt & | main_class, | ||
message_handlert & | , | ||
bool | allow_no_body = false |
||
) |
Definition at line 298 of file java_entry_point.cpp.
References config, dstringt::empty(), messaget::eom(), messaget::error(), main_function_resultt::error_found, has_prefix(), irept::id(), id2string(), irept::is_nil(), configt::main, main_function_resultt::main_function, main_function_resultt::stop_convert, symbol_tablet::symbols, symbolt::type, and symbolt::value.
Referenced by java_bytecode_languaget::do_ci_lazy_method_conversion(), java_bytecode_languaget::final(), and java_entry_point().
bool java_entry_point | ( | symbol_tablet & | symbol_table, |
const irep_idt & | main_class, | ||
message_handlert & | message_handler, | ||
bool | assume_init_pointers_not_null, | ||
size_t | max_nondet_array_length | ||
) |
find entry point and create initialization code for function symbol_table main class message_handler
assume_init_pointers_not_null | allow pointers in initialization code to be null max_nondet_array_length |
Definition at line 476 of file java_entry_point.cpp.
References symbol_tablet::add(), exprt::add_source_location(), code_function_callt::arguments(), symbolt::base_name, create_initialize(), goto_functions_templatet< goto_programt >::entry_point(), messaget::eom(), messaget::error(), EXC_SUFFIX, code_function_callt::function(), get_main_symbol(), irept::id(), id2string(), INITIALIZE, irept::is_nil(), symbolt::is_static_lifetime, java_build_arguments(), java_record_outputs(), java_reference_type(), java_static_lifetime_init(), code_function_callt::lhs(), loc, symbolt::location, main_function_resultt::main_function, irept::make_nil(), symbolt::mode, symbol_tablet::move(), exprt::move_to_operands(), symbolt::name, code_typet::return_type(), main_function_resultt::stop_convert, irept::swap(), symbolt::symbol_expr(), symbol_tablet::symbols, to_code_type(), symbolt::type, and symbolt::value.
Referenced by java_bytecode_languaget::final().