Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b97a4a

Browse files
committed
C++: Remove the same rule in TaintTrackingUtil.qll as 78b24b7 removed from DefaultTaintTracking.qll
1 parent 7b456d6 commit 0b97a4a

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,6 @@ private predicate localInstructionTaintStep(Instruction nodeFrom, Instruction no
5858
nodeFrom.getResultType() instanceof ArrayType or
5959
nodeFrom.getResultType() instanceof Union
6060
)
61-
or
62-
// Flow from an element to an array or union that contains it.
63-
nodeTo.(ChiInstruction).getPartial() = nodeFrom and
64-
not nodeTo.isResultConflated() and
65-
exists(Type t | nodeTo.getResultLanguageType().hasType(t, false) |
66-
t instanceof Union
67-
or
68-
t instanceof ArrayType
69-
)
7061
}
7162

7263
/**

0 commit comments

Comments
 (0)