Skip to content

Commit 395b8b9

Browse files
author
svorenova
committed
Label Java internal symbol to avoid nondet-initialization
This label is recognized by nondet-static option
1 parent d33bd22 commit 395b8b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jbmc/src/java_bytecode/java_bytecode_language.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ static symbol_exprt get_or_create_class_literal_symbol(
344344
new_class_symbol.is_lvalue = true;
345345
new_class_symbol.is_state_var = true;
346346
new_class_symbol.is_static_lifetime = true;
347+
new_class_symbol.type.set(ID_C_no_nondet_initialization, true);
347348
symbol_table.add(new_class_symbol);
348349
}
349350

0 commit comments

Comments
 (0)