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 e7935b6 commit 40f7a3bCopy full SHA for 40f7a3b
go/ql/lib/semmle/go/security/ReflectedXss.qll
@@ -22,6 +22,14 @@ module ReflectedXss {
22
predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
23
24
predicate isBarrier(DataFlow::Node node) { node instanceof Sanitizer }
25
+
26
+ predicate observeDiffInformedIncrementalMode() { any() }
27
28
+ Location getASelectedSinkLocation(DataFlow::Node sink) {
29
+ result = sink.getLocation()
30
+ or
31
+ result = sink.(SharedXss::Sink).getAssociatedLoc().getLocation()
32
+ }
33
}
34
35
/** Tracks taint flow from untrusted data to XSS attack vectors. */
0 commit comments