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.
This commit is contained in:
Jonas Jensen
2020-01-29 16:03:35 +01:00
parent d7e8ea7cc5
commit 0436caecdc

View File

@@ -1,6 +1,6 @@
import cpp import cpp
import semmle.code.cpp.security.Security 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 import semmle.code.cpp.ir.dataflow.DefaultTaintTracking as IRDefaultTaintTracking
predicate astFlow(Expr source, Element sink) { ASTTaintTracking::tainted(source, sink) } predicate astFlow(Expr source, Element sink) { ASTTaintTracking::tainted(source, sink) }