We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e7101 commit 7c9c992Copy full SHA for 7c9c992
javascript/ql/lib/semmle/javascript/GlobalAccessPaths.qll
@@ -206,6 +206,7 @@ module AccessPath {
206
* Holds if the global `accessPath` is only assigned to from one file, not counting
207
* self-assignments.
208
*/
209
+ overlay[global]
210
predicate isAssignedInUniqueFile(string accessPath) {
211
strictcount(File f | isAssignedInFile(accessPath, f)) = 1
212
}
@@ -511,7 +512,7 @@ module AccessPath {
511
512
/**
513
* Holds if there is a step from `pred` to `succ` through an assignment to an access path.
514
- overlay[caller]
515
+ overlay[caller?]
516
pragma[inline]
517
predicate step(DataFlow::Node pred, DataFlow::Node succ) {
518
exists(string name, Root root |
0 commit comments