File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
go/ql/lib/semmle/go/security Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,7 @@ module InsecureRandomness {
2929
3030 /** Holds if `sink` is a sink for this configuration with kind `kind`. */
3131 predicate isSink ( Sink sink , string kind ) { kind = sink .getKind ( ) }
32+
33+ override predicate isSanitizer ( DataFlow:: Node node ) { node instanceof Sanitizer }
3234 }
3335}
Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ import go
66
77/** Provides classes and predicates shared between the XSS queries. */
88module 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 { }
1114
1215 /** A data flow sink for XSS vulnerabilities. */
1316 abstract class Sink extends DataFlow:: Node {
You can’t perform that action at this time.
0 commit comments