Skip to content

Commit f090a3b

Browse files
committed
C++: Add to and clarify some taint library QLDoc.
1 parent d9a2347 commit f090a3b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/DefaultTaintTracking.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* An IR taint tracking library that uses an IR DataFlow configuration to track
3+
* taint from user inputs as defined by `semmle.code.cpp.security.Security`.
4+
*/
5+
16
import cpp
27
import semmle.code.cpp.security.Security
38
private import semmle.code.cpp.ir.dataflow.DataFlow
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
/*
2-
* Support for tracking tainted data through the program.
2+
* Support for tracking tainted data through the program. This is an alias for
3+
* `semmle.code.cpp.ir.dataflow.DefaultTaintTracking` provided for backwards
4+
* compatibility.
35
*
4-
* Prefer to use `semmle.code.cpp.dataflow.TaintTracking` when designing new queries.
6+
* Prefer to use `semmle.code.cpp.dataflow.TaintTracking` or
7+
* `semmle.code.cpp.ir.dataflow.TaintTracking` when designing new queries.
58
*/
69

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

0 commit comments

Comments
 (0)