mirror of
https://github.com/github/codeql.git
synced 2026-04-23 15:55:18 +02:00
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c4075b3ec7
commit
17ee7c2352
@@ -428,6 +428,6 @@ The ``allowImplicitRead`` predicate specifies that if we're at a node that satis
|
||||
1. User input starts at ``user_input()``.
|
||||
2. The data flowing into ``b`` with access path ``[a, x]``.
|
||||
3. The data flowing to the indirection of ``&b`` (i.e., the object ``b``).
|
||||
4. An implicit read of the field ``x`` followed by an implicit read of the field ``a``.
|
||||
4. An implicit read of the field ``x`` followed by an implicit read of the field ``a`` at the sink.
|
||||
|
||||
Thus, we end up at a node that satisfies ``isSink`` with an empty access path, and hence a dataflow path is successfully found.
|
||||
Reference in New Issue
Block a user