Skip to content

Commit 88e81ec

Browse files
committed
Go: InsecureRandomness
1 parent 9ffb3ff commit 88e81ec

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

go/ql/lib/semmle/go/security/InsecureRandomness.qll

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,7 @@ module InsecureRandomness {
4040
)
4141
}
4242

43-
predicate observeDiffInformedIncrementalMode() {
44-
any() // TODO: Make sure that the location overrides match the query's select clause: Column 1 does not select a source or sink originating from the flow call on line 26 (/Users/d10c/src/semmle-code/ql/go/ql/src/Security/CWE-338/InsecureRandomness.ql@33:8:33:21), Column 5 does not select a source or sink originating from the flow call on line 26 (/Users/d10c/src/semmle-code/ql/go/ql/src/Security/CWE-338/InsecureRandomness.ql@34:75:34:90)
45-
}
46-
47-
Location getASelectedSourceLocation(DataFlow::Node source) {
48-
none() // TODO: Make sure that this source location matches the query's select clause: Column 1 does not select a source or sink originating from the flow call on line 26 (/Users/d10c/src/semmle-code/ql/go/ql/src/Security/CWE-338/InsecureRandomness.ql@33:8:33:21), Column 5 does not select a source or sink originating from the flow call on line 26 (/Users/d10c/src/semmle-code/ql/go/ql/src/Security/CWE-338/InsecureRandomness.ql@34:75:34:90)
49-
}
50-
51-
Location getASelectedSinkLocation(DataFlow::Node sink) {
52-
none() // TODO: Make sure that this sink location matches the query's select clause: Column 1 does not select a source or sink originating from the flow call on line 26 (/Users/d10c/src/semmle-code/ql/go/ql/src/Security/CWE-338/InsecureRandomness.ql@33:8:33:21), Column 5 does not select a source or sink originating from the flow call on line 26 (/Users/d10c/src/semmle-code/ql/go/ql/src/Security/CWE-338/InsecureRandomness.ql@34:75:34:90)
53-
}
43+
predicate observeDiffInformedIncrementalMode() { any() }
5444
}
5545

5646
/**

0 commit comments

Comments
 (0)