cprover
goto_convert.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Program Transformation
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_GOTO_PROGRAMS_GOTO_CONVERT_H
13 #define CPROVER_GOTO_PROGRAMS_GOTO_CONVERT_H
14 
15 #include <util/message.h>
16 #include <util/std_code.h>
17 
18 #include "goto_program.h"
19 
20 // start from given code
21 void goto_convert(
22  const codet &code,
23  symbol_table_baset &symbol_table,
24  goto_programt &dest,
25  message_handlert &message_handler,
26  const irep_idt &mode);
27 
28 // start from "main"
29 void goto_convert(
30  symbol_table_baset &symbol_table,
31  goto_programt &dest,
32  message_handlert &message_handler);
33 
34 #endif // CPROVER_GOTO_PROGRAMS_GOTO_CONVERT_H
dstringt
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:37
symbol_table_baset
The symbol table base class interface.
Definition: symbol_table_base.h:22
message_handlert
Definition: message.h:28
std_code.h
goto_program.h
Concrete Goto Program.
goto_programt
A generic container class for the GOTO intermediate representation of one function.
Definition: goto_program.h:73
message.h
goto_convert
void goto_convert(const codet &code, symbol_table_baset &symbol_table, goto_programt &dest, message_handlert &message_handler, const irep_idt &mode)
Definition: goto_convert.cpp:1846
codet
Data structure for representing an arbitrary statement in a program.
Definition: std_code.h:35