From 0436caecdcc72e9f18b0a8000af2482fb81b7676 Mon Sep 17 00:00:00 2001 From: Jonas Jensen Date: Wed, 29 Jan 2020 16:03:35 +0100 Subject: [PATCH] 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. --- .../library-tests/dataflow/DefaultTaintTracking/test_diff.ql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/ql/test/library-tests/dataflow/DefaultTaintTracking/test_diff.ql b/cpp/ql/test/library-tests/dataflow/DefaultTaintTracking/test_diff.ql index eed0e793770..b31147fd423 100644 --- a/cpp/ql/test/library-tests/dataflow/DefaultTaintTracking/test_diff.ql +++ b/cpp/ql/test/library-tests/dataflow/DefaultTaintTracking/test_diff.ql @@ -1,6 +1,6 @@ import cpp import semmle.code.cpp.security.Security -import semmle.code.cpp.security.TaintTracking as ASTTaintTracking +import semmle.code.cpp.security.TaintTrackingImpl as ASTTaintTracking import semmle.code.cpp.ir.dataflow.DefaultTaintTracking as IRDefaultTaintTracking predicate astFlow(Expr source, Element sink) { ASTTaintTracking::tainted(source, sink) }