Skip to content

Commit

Permalink
C++: Add a missing taint step and accept test changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasVP committed Apr 26, 2024
1 parent 800c9c2 commit 2e7c1a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ private class IteratorAssignmentMemberOperatorModel extends IteratorAssignmentMe
TaintFunction, SideEffectFunction, AliasFunction
{
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
input.isParameterDeref(0) and
(input.isParameterDeref(0) or input.isParameter(0)) and
output.isQualifierObject()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ WARNING: Module DataFlow has been deprecated and may be removed in future (taint
WARNING: Module DataFlow has been deprecated and may be removed in future (taint.ql:68,25-33)
WARNING: Module TaintTracking has been deprecated and may be removed in future (taint.ql:73,20-33)
testFailures
| standalone_iterators.cpp:112:11:112:21 | // $ ast,ir | Missing result:ir= |
failures

0 comments on commit 2e7c1a1

Please sign in to comment.