cprover
rewrite_union.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Symbolic Execution
4
5
Author: Daniel Kroening, kroening@kroening.com
6
7
\*******************************************************************/
8
11
12
#ifndef CPROVER_GOTO_SYMEX_REWRITE_UNION_H
13
#define CPROVER_GOTO_SYMEX_REWRITE_UNION_H
14
15
#include <
goto-programs/goto_functions.h
>
16
17
class
exprt
;
18
class
namespacet
;
19
class
goto_functionst
;
20
class
goto_modelt
;
21
22
void
rewrite_union
(
23
exprt
&expr,
24
const
namespacet
&ns);
25
26
void
rewrite_union
(
27
goto_functionst
&
goto_functions
,
28
const
namespacet
&ns);
29
void
rewrite_union
(
goto_modelt
&goto_model);
30
31
#endif // CPROVER_GOTO_SYMEX_REWRITE_UNION_H
goto_functions.h
Goto Programs with Functions.
goto_modelt
Definition:
goto_model.h:22
namespacet
TO_BE_DOCUMENTED.
Definition:
namespace.h:62
goto_functionst
Definition:
goto_functions.h:20
rewrite_union
void rewrite_union(exprt &expr, const namespacet &ns)
We rewrite u.c for unions u into byte_extract(u, 0), and { .c = v } into byte_update(NIL, 0, v)
Definition:
rewrite_union.cpp:47
exprt
Base class for all expressions.
Definition:
expr.h:46
goto_modelt::goto_functions
goto_functionst goto_functions
Definition:
goto_model.h:26
goto-symex
rewrite_union.h
Generated by
1.8.12