Skip to content

Commit d5adef5

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2624 from diffblue/va_arg_mode
symbols for va_args need a mode
2 parents 8bca5cd + 3e3303d commit d5adef5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/goto-symex/symex_function_call.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ void goto_symext::parameter_assignments(
148148
symbolt symbol;
149149
symbol.name=id;
150150
symbol.base_name="va_arg"+std::to_string(va_count);
151+
symbol.mode=ID_C;
151152
symbol.type=it1->type();
152153

153154
state.symbol_table.insert(std::move(symbol));

0 commit comments

Comments
 (0)