CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
goto_convert.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Program Transformation
4
5Author: 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/irep.h>
16
17class codet;
18class goto_programt;
21
22// start from given code
23void goto_convert(
24 const codet &code,
25 symbol_table_baset &symbol_table,
26 goto_programt &dest,
27 message_handlert &message_handler,
28 const irep_idt &mode);
29
30// start from "main"
31void goto_convert(
32 symbol_table_baset &symbol_table,
33 goto_programt &dest,
34 message_handlert &message_handler);
35
36#endif // CPROVER_GOTO_PROGRAMS_GOTO_CONVERT_H
Data structure for representing an arbitrary statement in a program.
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition dstring.h:38
A generic container class for the GOTO intermediate representation of one function.
The symbol table base class interface.
void goto_convert(const codet &code, symbol_table_baset &symbol_table, goto_programt &dest, message_handlert &message_handler, const irep_idt &mode)