File tree 2 files changed +7
-2
lines changed
go/ql/lib/semmle/go/security
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,7 @@ module InsecureRandomness {
29
29
30
30
/** Holds if `sink` is a sink for this configuration with kind `kind`. */
31
31
predicate isSink ( Sink sink , string kind ) { kind = sink .getKind ( ) }
32
+
33
+ override predicate isSanitizer ( DataFlow:: Node node ) { node instanceof Sanitizer }
32
34
}
33
35
}
Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ import go
6
6
7
7
/** Provides classes and predicates shared between the XSS queries. */
8
8
module SharedXss {
9
- /** A data flow source for XSS vulnerabilities. */
10
- abstract class Source extends DataFlow:: Node { }
9
+ /**
10
+ * DEPRECATED: This class is not used.
11
+ * A data flow source for XSS vulnerabilities.
12
+ */
13
+ abstract deprecated class Source extends DataFlow:: Node { }
11
14
12
15
/** A data flow sink for XSS vulnerabilities. */
13
16
abstract class Sink extends DataFlow:: Node {
You can’t perform that action at this time.
0 commit comments