cprover
remove_instanceof.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Remove Instance-of Operators
4 
5 Author: Chris Smowton, chris.smowton@diffblue.com
6 
7 \*******************************************************************/
8 
78 
79 #ifndef CPROVER_JAVA_BYTECODE_REMOVE_INSTANCEOF_H
80 #define CPROVER_JAVA_BYTECODE_REMOVE_INSTANCEOF_H
81 
85 
86 #include <util/message.h>
87 #include <util/symbol_table.h>
88 
90  const irep_idt &function_identifier,
92  goto_programt &goto_program,
93  symbol_table_baset &symbol_table,
94  const class_hierarchyt &class_hierarchy,
96 
98  const irep_idt &function_identifier,
100  symbol_table_baset &symbol_table,
101  const class_hierarchyt &class_hierarchy,
102  message_handlert &);
103 
104 void remove_instanceof(
105  goto_functionst &goto_functions,
106  symbol_table_baset &symbol_table,
107  const class_hierarchyt &class_hierarchy,
108  message_handlert &);
109 
110 void remove_instanceof(
111  goto_modelt &model,
112  const class_hierarchyt &class_hierarchy,
113  message_handlert &);
114 
115 #endif
dstringt
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:37
class_hierarchyt
Non-graph-based representation of the class hierarchy.
Definition: class_hierarchy.h:43
goto_model.h
Symbol Table + CFG.
goto_modelt
Definition: goto_model.h:26
remove_instanceof
void remove_instanceof(const irep_idt &function_identifier, goto_programt::targett target, goto_programt &goto_program, symbol_table_baset &symbol_table, const class_hierarchyt &class_hierarchy, message_handlert &)
Replace an instanceof in the expression or guard of the passed instruction of the given function body...
Definition: remove_instanceof.cpp:299
symbol_table_baset
The symbol table base class interface.
Definition: symbol_table_base.h:22
message_handlert
Definition: message.h:28
goto_functionst::goto_functiont
::goto_functiont goto_functiont
Definition: goto_functions.h:25
goto_functionst
A collection of goto functions.
Definition: goto_functions.h:23
class_hierarchy.h
Class Hierarchy.
goto_functions.h
Goto Programs with Functions.
goto_programt
A generic container class for the GOTO intermediate representation of one function.
Definition: goto_program.h:73
symbol_table.h
Author: Diffblue Ltd.
message.h
goto_programt::targett
instructionst::iterator targett
Definition: goto_program.h:579