cprover
remove_exceptions.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Remove function exceptional returns
4 
5 Author: Cristina David
6 
7 Date: December 2016
8 
9 \*******************************************************************/
10 
13 
14 #ifndef CPROVER_JAVA_BYTECODE_REMOVE_EXCEPTIONS_H
15 #define CPROVER_JAVA_BYTECODE_REMOVE_EXCEPTIONS_H
16 
19 
20 #include <util/message.h>
21 
22 #define INFLIGHT_EXCEPTION_VARIABLE_BASENAME "@inflight_exception"
23 #define INFLIGHT_EXCEPTION_VARIABLE_NAME \
24  "java::" INFLIGHT_EXCEPTION_VARIABLE_BASENAME
25 
30  goto_programt &,
33 
38 
43  goto_programt &,
45  const class_hierarchyt &,
47 
52  goto_modelt &,
53  const class_hierarchyt &,
55 
56 #endif
class_hierarchyt
Non-graph-based representation of the class hierarchy.
Definition: class_hierarchy.h:42
goto_model.h
goto_modelt
Definition: goto_model.h:24
symbol_table_baset
The symbol table base class interface.
Definition: symbol_table_base.h:21
message_handlert
Definition: message.h:24
class_hierarchy.h
goto_programt
A generic container class for the GOTO intermediate representation of one function.
Definition: goto_program.h:72
remove_exceptions
void remove_exceptions(goto_programt &, symbol_table_baset &, const class_hierarchyt &, message_handlert &)
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignmen...
Definition: remove_exceptions.cpp:691
message.h
remove_exceptions_using_instanceof
void remove_exceptions_using_instanceof(goto_programt &, symbol_table_baset &, message_handlert &)
Removes 'throw x' and CATCH-PUSH/CATCH-POP and adds the required instrumentation (GOTOs and assignmen...
Definition: remove_exceptions.cpp:626