Skip to content

Commit

Permalink
Merge pull request diffblue#2624 from diffblue/va_arg_mode
Browse files Browse the repository at this point in the history
symbols for va_args need a mode
  • Loading branch information
Daniel Kroening authored Jul 27, 2018
2 parents 8bca5cd + 3e3303d commit d5adef5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/goto-symex/symex_function_call.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ void goto_symext::parameter_assignments(
symbolt symbol;
symbol.name=id;
symbol.base_name="va_arg"+std::to_string(va_count);
symbol.mode=ID_C;
symbol.type=it1->type();

state.symbol_table.insert(std::move(symbol));
Expand Down

0 comments on commit d5adef5

Please sign in to comment.