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 
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 has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:37
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:71
instructionst::iterator targett
Definition: goto_program.h:646
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.