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 class symbol_table_baset;
20 
21 void remove_java_new(
22  const irep_idt &function_identifier,
24  goto_programt &goto_program,
25  symbol_table_baset &symbol_table,
26  message_handlert &_message_handler);
27 
28 void remove_java_new(
29  const irep_idt &function_identifier,
31  symbol_table_baset &symbol_table,
32  message_handlert &_message_handler);
33 
34 void remove_java_new(
35  goto_functionst &goto_functions,
36  symbol_table_baset &symbol_table,
37  message_handlert &_message_handler);
38 
39 void remove_java_new(goto_modelt &model, message_handlert &_message_handler);
40 
41 #endif // CPROVER_JAVA_BYTECODE_REMOVE_JAVA_NEW_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:38
A collection of goto functions.
::goto_functiont goto_functiont
A generic container class for the GOTO intermediate representation of one function.
Definition: goto_program.h:73
instructionst::iterator targett
Definition: goto_program.h:614
The symbol table base class interface.
Goto Programs with 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.