cprover
rewrite_union.cpp File Reference

Symbolic Execution of ANSI-C. More...

+ Include dependency graph for rewrite_union.cpp:

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)
 

Detailed Description

Symbolic Execution of ANSI-C.

Definition in file rewrite_union.cpp.

Function Documentation

◆ have_to_rewrite_union()

static bool have_to_rewrite_union ( const exprt &  expr)
static

Definition at line 22 of file rewrite_union.cpp.

◆ rewrite_union() [1/4]

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.

◆ rewrite_union() [2/4]

void rewrite_union ( goto_functionst &  goto_functions)

Definition at line 113 of file rewrite_union.cpp.

◆ rewrite_union() [3/4]

void rewrite_union ( goto_functionst::goto_functiont &  goto_function)

Definition at line 98 of file rewrite_union.cpp.

◆ rewrite_union() [4/4]

void rewrite_union ( goto_modelt &  goto_model)

Definition at line 119 of file rewrite_union.cpp.

◆ rewrite_union_address_of()

void rewrite_union_address_of ( exprt &  expr)

Definition at line 43 of file rewrite_union.cpp.