Skip to content

Commit eacc600

Browse files
committed
Java: annotate a query as not selecting sources
This is for performance in diff-informed mode but also for avoiding spurious entries in the code scanning timeline and alert list.
1 parent 2b1c70c commit eacc600

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

java/ql/lib/semmle/code/java/security/WebviewDebuggingEnabledQuery.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ module WebviewDebugEnabledConfig implements DataFlow::ConfigSig {
4646
}
4747

4848
predicate observeDiffInformedIncrementalMode() { any() }
49+
50+
Location getASelectedSourceLocation(DataFlow::Node source) {
51+
// This module is only used in `WebviewDebuggingEnabled.ql`, which doesn't
52+
// select the source in any "$@" column.
53+
none()
54+
}
4955
}
5056

5157
/**

0 commit comments

Comments
 (0)