CBMC
java_root_class.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module:
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
9 
10 #ifndef CPROVER_JAVA_BYTECODE_JAVA_ROOT_CLASS_H
11 #define CPROVER_JAVA_BYTECODE_JAVA_ROOT_CLASS_H
12 
13 #include <util/irep.h>
14 
15 class struct_exprt;
16 class struct_typet;
17 
18 // adds expected members for a root class,
19 // which is usually java.lang.Object
20 
21 void java_root_class(
22  class symbolt &class_symbol);
23 
25  struct_exprt &jlo,
26  const struct_typet &root_type,
27  const irep_idt &class_identifier);
28 
29 #endif // CPROVER_JAVA_BYTECODE_JAVA_ROOT_CLASS_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:38
Struct constructor from list of elements.
Definition: std_expr.h:1872
Structure type, corresponds to C style structs.
Definition: std_types.h:231
Symbol table entry.
Definition: symbol.h:28
void java_root_class(class symbolt &class_symbol)
Create components to an object of the root class (usually java.lang.Object) Specifically,...
void java_root_class_init(struct_exprt &jlo, const struct_typet &root_type, const irep_idt &class_identifier)
Adds members for an object of the root class (usually java.lang.Object).