Skip to content

Commit fff3b5c

Browse files
committed
Dataflow: Add qldoc.
1 parent 9479301 commit fff3b5c

File tree

27 files changed

+135
-0
lines changed

27 files changed

+135
-0
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl2.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl3.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl4.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImplLocal.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl2.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl3.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl4.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,11 @@ module PathGraph {
37493749
reach(n) and key = "semmle.label" and val = n.toString()
37503750
}
37513751

3752+
/**
3753+
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
3754+
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and
3755+
* `ret -> out` is summarized as the edge `arg -> out`.
3756+
*/
37523757
query predicate subpaths(PathNode arg, PathNode par, PathNode ret, PathNode out) {
37533758
Subpaths::subpaths(arg, par, ret, out) and
37543759
reach(arg) and

0 commit comments

Comments
 (0)