Skip to content

Commit 0436cae

Browse files
committed
C++: Always use the old library for the diff test
This change ensures that the diff test will show the difference between the old and the new library even after we switch the default implementation of `security.TaintTracking` to be the new one.
1 parent d7e8ea7 commit 0436cae

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/library-tests/dataflow/DefaultTaintTracking

1 file changed

+1
-1
lines changed

cpp/ql/test/library-tests/dataflow/DefaultTaintTracking/test_diff.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import cpp
22
import semmle.code.cpp.security.Security
3-
import semmle.code.cpp.security.TaintTracking as ASTTaintTracking
3+
import semmle.code.cpp.security.TaintTrackingImpl as ASTTaintTracking
44
import semmle.code.cpp.ir.dataflow.DefaultTaintTracking as IRDefaultTaintTracking
55

66
predicate astFlow(Expr source, Element sink) { ASTTaintTracking::tainted(source, sink) }

0 commit comments

Comments
 (0)