File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
cpp/ql/src/semmle/code/cpp/models/interfaces Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,14 @@ import semmle.code.cpp.models.Models
15
15
* A library function for which a taint-tracking library should propagate taint
16
16
* from a parameter or qualifier to an output buffer, return value, or qualifier.
17
17
*
18
+ * An expression is tainted if it could be influenced by an attacker to have
19
+ * an unusual value.
20
+ *
18
21
* Note that this does not include direct copying of values; that is covered by
19
22
* DataFlowModel.qll. If a value is sometimes copied in full, and sometimes
20
23
* altered (for example copying a string with `strncpy`), this is also considered
21
24
* data flow.
22
25
*/
23
26
abstract class TaintFunction extends Function {
24
27
abstract predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) ;
25
- }
28
+ }
You can’t perform that action at this time.
0 commit comments