Skip to content

Commit 3116be7

Browse files
Initialize shadow memory for locals
This triggers the allocation of local-scope shadow memory.
1 parent 5bc51ef commit 3116be7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/goto-symex/symex_decl.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,6 @@ void goto_symext::symex_decl(statet &state, const symbol_exprt &expr)
5858
ssa,
5959
state.atomic_section_id,
6060
state.source);
61+
62+
shadow_memory.symex_field_local_init(state, ssa);
6163
}

0 commit comments

Comments
 (0)