File tree 2 files changed +9
-7
lines changed 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -225,18 +225,20 @@ std::size_t taint_instrumentert::instrument_location(
225
225
{
226
226
auto iit=instrumentation_code.add_instruction (ASSIGN);
227
227
iit->code =code_assignt (
228
- symbol_exprt (from_tokens_to_vars.at (arg_token.get_token_name ()),
229
- typet (ID_bool)),
228
+ symbol_exprt (
229
+ from_tokens_to_vars.at (arg_token.get_token_name ()),
230
+ typet (ID_bool)),
230
231
constant_exprt (ID_true, typet (ID_bool)));
231
232
iit->function =loc.get_function_id ();
232
233
}
233
- // Now we instrument "turn of " assignments of state variables.
234
+ // Now we instrument "turn off " assignments of state variables.
234
235
for (const auto &arg_token : loc.get_turn_off ())
235
236
{
236
237
auto iit=instrumentation_code.add_instruction (ASSIGN);
237
238
iit->code =code_assignt (
238
- symbol_exprt (from_tokens_to_vars.at (arg_token.get_token_name ()),
239
- typet (ID_bool)),
239
+ symbol_exprt (
240
+ from_tokens_to_vars.at (arg_token.get_token_name ()),
241
+ typet (ID_bool)),
240
242
constant_exprt (ID_false, typet (ID_bool)));
241
243
iit->function =loc.get_function_id ();
242
244
}
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ Function: remove_calls_to_functions_without_bodies
48
48
49
49
\*******************************************************************/
50
50
static void remove_calls_to_functions_without_bodies (
51
- goto_functionst &goto_functions,
52
- symbol_tablet &symbol_table)
51
+ goto_functionst &goto_functions,
52
+ symbol_tablet &symbol_table)
53
53
{
54
54
std::set<irep_idt> fns_without_bodies;
55
55
for (auto &fname_prog : goto_functions.function_map )
You can’t perform that action at this time.
0 commit comments