mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
(Multiple languages) Clarify defn of barriers
This commit is contained in:
@@ -170,8 +170,8 @@ These predicates are defined in the configuration:
|
||||
|
||||
- ``isSource`` - defines where data may flow from.
|
||||
- ``isSink`` - defines where data may flow to.
|
||||
- ``isBarrier`` - optionally, restricts the data flow.
|
||||
- ``isAdditionalFlowStep`` - optionally, adds additional flow steps.
|
||||
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||
|
||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
||||
|
||||
|
||||
@@ -188,7 +188,7 @@ These predicates are defined in the configuration:
|
||||
|
||||
- ``isSource`` - defines where data may flow from.
|
||||
- ``isSink`` - defines where data may flow to.
|
||||
- ``isBarrier`` - optional, restricts the data flow.
|
||||
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||
|
||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
||||
|
||||
@@ -196,7 +196,7 @@ These predicates are defined in the configuration:
|
||||
|
||||
- ``isSource`` - defines where data may flow from.
|
||||
- ``isSink`` - defines where data may flow to.
|
||||
- ``isBarrier`` - optional, restricts the data flow.
|
||||
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||
|
||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
||||
|
||||
@@ -228,8 +228,8 @@ These predicates are defined in the configuration:
|
||||
|
||||
- ``isSource`` - defines where data may flow from.
|
||||
- ``isSink`` - defines where data may flow to.
|
||||
- ``isBarrier`` - optionally, restricts the data flow.
|
||||
- ``isAdditionalFlowStep`` - optionally, adds additional flow steps.
|
||||
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||
|
||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
||||
|
||||
|
||||
@@ -248,8 +248,8 @@ These predicates are defined in the configuration:
|
||||
|
||||
- ``isSource`` - defines where data may flow from.
|
||||
- ``isSink`` - defines where data may flow to.
|
||||
- ``isBarrier`` - optionally, restricts the data flow.
|
||||
- ``isAdditionalFlowStep`` - optionally, adds additional flow steps.
|
||||
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||
|
||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
||||
|
||||
|
||||
@@ -185,8 +185,8 @@ These predicates are defined in the configuration:
|
||||
|
||||
- ``isSource`` - defines where data may flow from.
|
||||
- ``isSink`` - defines where data may flow to.
|
||||
- ``isBarrier`` - optionally, restricts the data flow.
|
||||
- ``isAdditionalFlowStep`` - optionally, adds additional flow steps.
|
||||
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||
|
||||
The last line (``module MyDataFlow = ...``) instantiates the parameterized module for data flow analysis by passing the configuration to the parameterized module. Data flow analysis can then be performed using ``MyDataFlow::flow(DataFlow::Node source, DataFlow::Node sink)``:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user