mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +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.
|
- ``isSource`` - defines where data may flow from.
|
||||||
- ``isSink`` - defines where data may flow to.
|
- ``isSink`` - defines where data may flow to.
|
||||||
- ``isBarrier`` - optionally, restricts the data flow.
|
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||||
- ``isAdditionalFlowStep`` - optionally, adds additional flow steps.
|
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||||
|
|
||||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
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.
|
- ``isSource`` - defines where data may flow from.
|
||||||
- ``isSink`` - defines where data may flow to.
|
- ``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.
|
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||||
|
|
||||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
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.
|
- ``isSource`` - defines where data may flow from.
|
||||||
- ``isSink`` - defines where data may flow to.
|
- ``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.
|
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||||
|
|
||||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
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.
|
- ``isSource`` - defines where data may flow from.
|
||||||
- ``isSink`` - defines where data may flow to.
|
- ``isSink`` - defines where data may flow to.
|
||||||
- ``isBarrier`` - optionally, restricts the data flow.
|
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||||
- ``isAdditionalFlowStep`` - optionally, adds additional flow steps.
|
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||||
|
|
||||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
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.
|
- ``isSource`` - defines where data may flow from.
|
||||||
- ``isSink`` - defines where data may flow to.
|
- ``isSink`` - defines where data may flow to.
|
||||||
- ``isBarrier`` - optionally, restricts the data flow.
|
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||||
- ``isAdditionalFlowStep`` - optionally, adds additional flow steps.
|
- ``isAdditionalFlowStep`` - optional, adds additional flow steps.
|
||||||
|
|
||||||
The data flow analysis is performed using the predicate ``flow(DataFlow::Node source, DataFlow::Node sink)``:
|
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.
|
- ``isSource`` - defines where data may flow from.
|
||||||
- ``isSink`` - defines where data may flow to.
|
- ``isSink`` - defines where data may flow to.
|
||||||
- ``isBarrier`` - optionally, restricts the data flow.
|
- ``isBarrier`` - optional, defines where data flow is blocked.
|
||||||
- ``isAdditionalFlowStep`` - optionally, adds additional flow steps.
|
- ``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)``:
|
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