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
17
#include <
goto-programs/goto_functions.h
>
18
#include <
goto-programs/goto_model.h
>
19
20
class
message_handlert
;
21
22
void
remove_java_new
(
23
goto_programt::targett
target,
24
goto_programt
&goto_program,
25
symbol_table_baset
&symbol_table,
26
message_handlert
&_message_handler);
27
28
void
remove_java_new
(
29
goto_functionst::goto_functiont
&
function
,
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
remove_java_new
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.
Definition:
remove_java_new.cpp:383
goto_functions.h
Goto Programs with Functions.
goto_modelt
Definition:
goto_model.h:24
goto_model.h
Symbol Table + CFG.
goto_programt::targett
instructionst::iterator targett
Definition:
goto_program.h:414
goto_functionst::goto_functiont
::goto_functiont goto_functiont
Definition:
goto_functions.h:25
message_handlert
Definition:
message.h:24
goto_functionst
A collection of goto functions.
Definition:
goto_functions.h:22
symbol_table.h
Author: Diffblue Ltd.
goto_programt
A generic container class for the GOTO intermediate representation of one function.
Definition:
goto_program.h:72
symbol_table_baset
The symbol table base class interface.
Definition:
symbol_table_base.h:21
jbmc
src
java_bytecode
remove_java_new.h
Generated by
1.8.14