Skip to content

Commit 9974c32

Browse files
Include function call arguments in variable sensitivity dependency graph
1 parent 1036d4c commit 9974c32

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/analyses/variable-sensitivity/variable_sensitivity_dependence_graph.cpp

+9
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ void variable_sensitivity_dependence_grapht::transform(
7474

7575
eval_data_deps(inst.rhs(), ns, domain_data_deps);
7676
}
77+
else if (to->is_function_call())
78+
{
79+
const code_function_callt &call = to_code_function_call(to->code);
80+
const code_function_callt::argumentst &args= call.arguments();
81+
for(const auto arg : args)
82+
{
83+
eval_data_deps(arg, ns, domain_data_deps);
84+
}
85+
}
7786
}
7887

7988
/**

0 commit comments

Comments
 (0)