You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Dataflow is broken for variables used as conditions in conditional operators.
The dataflow is not detected for assignments after the conditional operator.
(A DDG edge seems to be missing in the CPG)
To Reproduce
int main(int argc, char **argv) {
int source = 0;
int source_copy = source;
int sink_1 = source_copy;
int status = source_copy ? 1 : 0;
int sink_2 = source_copy;
}