CBMC
remove_java_new.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Remove Java New Operators
4 
5 Author: Peter Schrammel
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_JAVA_BYTECODE_REMOVE_JAVA_NEW_H
13 #define CPROVER_JAVA_BYTECODE_REMOVE_JAVA_NEW_H
14 
16 
17 class goto_modelt;
18 class message_handlert;
19 
20 void remove_java_new(
21  const irep_idt &function_identifier,
23  goto_programt &goto_program,
24  symbol_table_baset &symbol_table,
25  message_handlert &_message_handler);
26 
27 void remove_java_new(
28  const irep_idt &function_identifier,
30  symbol_table_baset &symbol_table,
31  message_handlert &_message_handler);
32 
33 void remove_java_new(
34  goto_functionst &goto_functions,
35  symbol_table_baset &symbol_table,
36  message_handlert &_message_handler);
37 
38 void remove_java_new(goto_modelt &model, message_handlert &_message_handler);
39 
40 #endif // CPROVER_JAVA_BYTECODE_REMOVE_JAVA_NEW_H
dstringt
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:36
remove_java_new
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.
Definition: remove_java_new.cpp:437
goto_modelt
Definition: goto_model.h:25
symbol_table_baset
The symbol table base class interface.
Definition: symbol_table_base.h:21
message_handlert
Definition: message.h:27
goto_functionst::goto_functiont
::goto_functiont goto_functiont
Definition: goto_functions.h:27
goto_functionst
A collection of goto functions.
Definition: goto_functions.h:24
goto_functions.h
goto_programt
A generic container class for the GOTO intermediate representation of one function.
Definition: goto_program.h:72
goto_programt::targett
instructionst::iterator targett
Definition: goto_program.h:586