Skip to content

Commit 408e38a

Browse files
committed
C++: Clarify which taint tracking libraries should be used somewhat.
1 parent d77092c commit 408e38a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
* Support for tracking tainted data through the program.
3+
*
4+
* Prefer to use `semmle.code.cpp.dataflow.TaintTracking` when designing new queries.
35
*/
46

57
import semmle.code.cpp.ir.dataflow.DefaultTaintTracking

cpp/ql/src/semmle/code/cpp/security/TaintTrackingImpl.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
/**
2+
* DEPRECATED: we now use `semmle.code.cpp.ir.dataflow.DefaultTaintTracking`,
3+
* which is based on the IR but designed to behave similarly to this old
4+
* libarary.
5+
*
26
* Provides the implementation of `semmle.code.cpp.security.TaintTracking`. Do
37
* not import this file directly.
48
*/

0 commit comments

Comments
 (0)