cprover
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 
15 #include <util/symbol_table.h>
16 
19 
20 class message_handlert;
21 
22 void remove_java_new(
24  goto_programt &goto_program,
25  symbol_table_baset &symbol_table,
26  message_handlert &_message_handler);
27 
28 void remove_java_new(
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
void remove_java_new(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.
Goto Programs with Functions.
Symbol Table + CFG.
instructionst::iterator targett
Definition: goto_program.h:414
::goto_functiont goto_functiont
A collection of goto functions.
Author: Diffblue Ltd.
A generic container class for the GOTO intermediate representation of one function.
Definition: goto_program.h:72
The symbol table base class interface.