mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Data flow: Mention expectsContent in dataflow.md
This commit is contained in:
@@ -509,6 +509,12 @@ use-use steps. If local flow is implemented using def-use steps, then
|
||||
|
||||
Note that `clearsContent(n, cs)` is interpreted using `cs.getAReadContent()`.
|
||||
|
||||
Dually, there exists a predicate
|
||||
```ql
|
||||
predicate expectsContent(Node n, ContentSet c);
|
||||
```
|
||||
which acts as a barrier when data is _not_ stored inside one of `c.getAReadContent()`.
|
||||
|
||||
## Type pruning
|
||||
|
||||
The library supports pruning paths when a sequence of value-preserving steps
|
||||
|
||||
Reference in New Issue
Block a user