CBMC
|
#include "rewrite_union.h"
#include <util/arith_tools.h>
#include <util/byte_operators.h>
#include <util/c_types.h>
#include <util/pointer_expr.h>
#include <util/std_code.h>
#include <goto-programs/goto_model.h>
Go to the source code of this file.
Functions | |
static bool | have_to_rewrite_union (const exprt &expr) |
void | rewrite_union_address_of (exprt &expr) |
void | rewrite_union (exprt &expr) |
We rewrite u.c for unions u into byte_extract(u, 0), and { .c = v } into byte_update(NIL, 0, v) More... | |
void | rewrite_union (goto_functionst::goto_functiont &goto_function) |
void | rewrite_union (goto_functionst &goto_functions) |
void | rewrite_union (goto_modelt &goto_model) |
Symbolic Execution of ANSI-C
Definition in file rewrite_union.cpp.
|
static |
Definition at line 22 of file rewrite_union.cpp.
void rewrite_union | ( | exprt & | expr | ) |
We rewrite u.c for unions u into byte_extract(u, 0), and { .c = v } into byte_update(NIL, 0, v)
Definition at line 65 of file rewrite_union.cpp.
void rewrite_union | ( | goto_functionst & | goto_functions | ) |
Definition at line 109 of file rewrite_union.cpp.
void rewrite_union | ( | goto_functionst::goto_functiont & | goto_function | ) |
Definition at line 98 of file rewrite_union.cpp.
void rewrite_union | ( | goto_modelt & | goto_model | ) |
Definition at line 115 of file rewrite_union.cpp.
void rewrite_union_address_of | ( | exprt & | expr | ) |
Definition at line 43 of file rewrite_union.cpp.