Skip to content

Commit 622c96d

Browse files
committed
Example: Add new query predicate to PathGraph
1 parent f87740a commit 622c96d

File tree

8 files changed

+16
-0
lines changed

8 files changed

+16
-0
lines changed

Diff for: cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll

+2
Original file line numberDiff line numberDiff line change
@@ -3158,6 +3158,8 @@ module Impl<FullStateConfigSig Config> {
31583158
key = "semmle.label" and val = n.toString()
31593159
}
31603160

3161+
additional query predicate example(string s) { none() }
3162+
31613163
/**
31623164
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
31633165
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and

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

+2
Original file line numberDiff line numberDiff line change
@@ -3158,6 +3158,8 @@ module Impl<FullStateConfigSig Config> {
31583158
key = "semmle.label" and val = n.toString()
31593159
}
31603160

3161+
additional query predicate example(string s) { none() }
3162+
31613163
/**
31623164
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
31633165
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and

Diff for: csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll

+2
Original file line numberDiff line numberDiff line change
@@ -3158,6 +3158,8 @@ module Impl<FullStateConfigSig Config> {
31583158
key = "semmle.label" and val = n.toString()
31593159
}
31603160

3161+
additional query predicate example(string s) { none() }
3162+
31613163
/**
31623164
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
31633165
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and

Diff for: go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl.qll

+2
Original file line numberDiff line numberDiff line change
@@ -3158,6 +3158,8 @@ module Impl<FullStateConfigSig Config> {
31583158
key = "semmle.label" and val = n.toString()
31593159
}
31603160

3161+
additional query predicate example(string s) { none() }
3162+
31613163
/**
31623164
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
31633165
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and

Diff for: java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImpl.qll

+2
Original file line numberDiff line numberDiff line change
@@ -3158,6 +3158,8 @@ module Impl<FullStateConfigSig Config> {
31583158
key = "semmle.label" and val = n.toString()
31593159
}
31603160

3161+
additional query predicate example(string s) { none() }
3162+
31613163
/**
31623164
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
31633165
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and

Diff for: python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll

+2
Original file line numberDiff line numberDiff line change
@@ -3158,6 +3158,8 @@ module Impl<FullStateConfigSig Config> {
31583158
key = "semmle.label" and val = n.toString()
31593159
}
31603160

3161+
additional query predicate example(string s) { none() }
3162+
31613163
/**
31623164
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
31633165
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and

Diff for: ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl.qll

+2
Original file line numberDiff line numberDiff line change
@@ -3158,6 +3158,8 @@ module Impl<FullStateConfigSig Config> {
31583158
key = "semmle.label" and val = n.toString()
31593159
}
31603160

3161+
additional query predicate example(string s) { none() }
3162+
31613163
/**
31623164
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
31633165
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and

Diff for: swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl.qll

+2
Original file line numberDiff line numberDiff line change
@@ -3158,6 +3158,8 @@ module Impl<FullStateConfigSig Config> {
31583158
key = "semmle.label" and val = n.toString()
31593159
}
31603160

3161+
additional query predicate example(string s) { none() }
3162+
31613163
/**
31623164
* Holds if `(arg, par, ret, out)` forms a subpath-tuple, that is, flow through
31633165
* a subpath between `par` and `ret` with the connecting edges `arg -> par` and

0 commit comments

Comments
 (0)