mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/FlowSteps.qll
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d610d721a4
commit
6a8c592900
@@ -11,7 +11,7 @@ private import semmle.code.cpp.dataflow.new.DataFlow
|
||||
* is itself tainted.
|
||||
*
|
||||
* For example, if we had a type `struct Container { int field; }`, then by default a tainted
|
||||
* `Container` and a `Container` with a tainted `Contained` stored in its `field` are distinct.
|
||||
* `Container` and a `Container` with a tainted `int` stored in its `field` are distinct.
|
||||
*
|
||||
* If `any(DataFlow::FieldContent fc | fc.getField().hasQualifiedName("Container", "field"))` was
|
||||
* included in this type however, then a tainted `Container` would imply that its `field` is also
|
||||
|
||||
Reference in New Issue
Block a user