We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d74e3b + 59ed92c commit 816e792Copy full SHA for 816e792
src/taint-analysis/taint_program.cpp
@@ -36,8 +36,8 @@ static void build_NONDET_retvals_replacements(
36
const code_function_callt &fn_call=to_code_function_call(instr_it->code);
37
if(fn_call.function().id()!=ID_symbol)
38
continue;
39
- const std::string callee_ident=
40
- as_string(to_symbol_expr(fn_call.function()).get_identifier());
+ const irep_idt &callee_ident=
+ to_symbol_expr(fn_call.function()).get_identifier();
41
42
const code_typet &fn_type=
43
model.goto_functions.function_map.at(callee_ident).type;
@@ -53,7 +53,7 @@ static void build_NONDET_retvals_replacements(
53
next_instr_it,
54
find_or_create_symbol_expr(
55
ns,
56
- callee_ident+RETURN_VALUE_SUFFIX,
+ as_string(callee_ident)+RETURN_VALUE_SUFFIX,
57
fn_type.return_type())
58
});
59
}
0 commit comments