Skip to content

Commit 0130eb8

Browse files
author
svorenova
committed
Make nondet-static option respect the new data member
1 parent 7c16c57 commit 0130eb8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/goto-instrument/nondet_static.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ void nondet_static(
4646
if(!ns.lookup(sym.get_identifier()).is_static_lifetime)
4747
continue;
4848

49+
// static that can be nondet initialized?
50+
if(!ns.lookup(sym.get_identifier()).is_static_nondet_init)
51+
continue;
52+
4953
// constant?
5054
if(is_constant_or_has_constant_components(sym.type(), ns))
5155
continue;

0 commit comments

Comments
 (0)