Skip to content

Commit 622c96d

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

8 files changed

Lines changed: 16 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
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

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

Lines changed: 2 additions & 0 deletions
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

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

Lines changed: 2 additions & 0 deletions
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

go/ql/lib/semmle/go/dataflow/internal/DataFlowImpl.qll

Lines changed: 2 additions & 0 deletions
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

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

Lines changed: 2 additions & 0 deletions
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

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImpl.qll

Lines changed: 2 additions & 0 deletions
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

ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowImpl.qll

Lines changed: 2 additions & 0 deletions
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

swift/ql/lib/codeql/swift/dataflow/internal/DataFlowImpl.qll

Lines changed: 2 additions & 0 deletions
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)