Skip to content

Commit a29e529

Browse files
committed
Shared: Add missing qldoc.
1 parent d157e13 commit a29e529

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

shared/typetracking/codeql/typetracking/TypeTracking.qll

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,21 @@ module TypeTracking<TypeTrackingInput I> {
137137
(storeStep(_, n, _) or loadStoreStep(_, n, _, _))
138138
}
139139

140+
/**
141+
* Holds if there is any node in a step relation that is unreachable from a
142+
* `LocalSourceNode`.
143+
*/
140144
query predicate unreachableNode(string msg) {
141145
exists(int k, string kind |
142146
k = strictcount(Node n | stepEntry(n, kind) and not flowsTo(_, n)) and
143147
msg = "There are " + k + " unreachable nodes in steps of kind " + kind + "."
144148
)
145149
}
146150

151+
/**
152+
* Holds if there is a store target that isn't a `LocalSourceNode` and
153+
* backtracking store target feature isn't enabled.
154+
*/
147155
query predicate nonSourceStoreTarget(string msg) {
148156
not hasFeatureBacktrackStoreTarget() and
149157
exists(int k |

0 commit comments

Comments
 (0)