CBMC
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/irep.h
>
16
17
class
codet
;
18
class
goto_programt
;
19
class
message_handlert
;
20
class
symbol_table_baset
;
21
22
// start from given code
23
void
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"
31
void
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
codet
Data structure for representing an arbitrary statement in a program.
Definition:
std_code_base.h:29
dstringt
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition:
dstring.h:38
goto_programt
A generic container class for the GOTO intermediate representation of one function.
Definition:
goto_program.h:73
message_handlert
Definition:
message.h:27
symbol_table_baset
The symbol table base class interface.
Definition:
symbol_table_base.h:23
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:2187
irep.h
src
ansi-c
goto-conversion
goto_convert.h
Generated by
1.9.1