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
void goto_convert(const codet &code, symbol_table_baset &symbol_table, goto_programt &dest, message_handlert &message_handler, const irep_idt &mode)
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:35
A generic container class for the GOTO intermediate representation of one function.
Definition: goto_program.h:72
The symbol table base class interface.
Data structure for representing an arbitrary statement in a program.
Definition: std_code.h:34
Concrete Goto Program.