CBMC
|
Remove Java New Operators. More...
#include "remove_java_new.h"
#include <util/arith_tools.h>
#include <util/c_types.h>
#include <util/expr_initializer.h>
#include <util/namespace.h>
#include <util/pointer_offset_size.h>
#include <util/std_code.h>
#include <goto-programs/class_identifier.h>
#include <goto-programs/goto_model.h>
#include <ansi-c/goto-conversion/goto_convert.h>
#include "java_types.h"
#include "java_utils.h"
Go to the source code of this file.
Classes | |
class | remove_java_newt |
Functions | |
void | remove_java_new (const irep_idt &function_identifier, goto_programt::targett target, goto_programt &goto_program, symbol_table_baset &symbol_table, message_handlert &message_handler) |
Replace every java_new or java_new_array by a malloc side-effect and zero initialization. More... | |
void | remove_java_new (const irep_idt &function_identifier, goto_functionst::goto_functiont &function, symbol_table_baset &symbol_table, message_handlert &message_handler) |
Replace every java_new or java_new_array by a malloc side-effect and zero initialization. More... | |
void | remove_java_new (goto_functionst &goto_functions, symbol_table_baset &symbol_table, message_handlert &message_handler) |
Replace every java_new or java_new_array by a malloc side-effect and zero initialization. More... | |
void | remove_java_new (goto_modelt &goto_model, message_handlert &message_handler) |
Replace every java_new or java_new_array by a malloc side-effect and zero initialization. More... | |
Remove Java New Operators.
Definition in file remove_java_new.cpp.
void remove_java_new | ( | const irep_idt & | function_identifier, |
goto_functionst::goto_functiont & | function, | ||
symbol_table_baset & | symbol_table, | ||
message_handlert & | message_handler | ||
) |
Replace every java_new or java_new_array by a malloc side-effect and zero initialization.
function_identifier | Name of the function function . |
function | The function to work on. |
symbol_table | The symbol table to add symbols to. |
message_handler | a message handler |
Definition at line 457 of file remove_java_new.cpp.
void remove_java_new | ( | const irep_idt & | function_identifier, |
goto_programt::targett | target, | ||
goto_programt & | goto_program, | ||
symbol_table_baset & | symbol_table, | ||
message_handlert & | message_handler | ||
) |
Replace every java_new or java_new_array by a malloc side-effect and zero initialization.
function_identifier | Name of the function containing target . |
target | The instruction to work on. |
goto_program | The function body containing the instruction. |
symbol_table | The symbol table to add symbols to. |
message_handler | a message handler |
Definition at line 438 of file remove_java_new.cpp.
void remove_java_new | ( | goto_functionst & | goto_functions, |
symbol_table_baset & | symbol_table, | ||
message_handlert & | message_handler | ||
) |
Replace every java_new or java_new_array by a malloc side-effect and zero initialization.
goto_functions | The functions to work on. |
symbol_table | The symbol table to add symbols to. |
message_handler | a message handler |
Definition at line 473 of file remove_java_new.cpp.
void remove_java_new | ( | goto_modelt & | goto_model, |
message_handlert & | message_handler | ||
) |
Replace every java_new or java_new_array by a malloc side-effect and zero initialization.
goto_model | The functions to work on and the symbol table to add symbols to. |
message_handler | a message handler |
Definition at line 493 of file remove_java_new.cpp.