File tree Expand file tree Collapse file tree
rust/ql/src/queries/summary Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,17 +104,6 @@ int getTaintEdgesCount() {
104104 */
105105int getQuerySinksCount ( ) { result = count ( QuerySink s ) }
106106
107- /**
108- * Holds if there are at least 10 data flow nodes in the same location
109- * as `n`.
110- */
111- private predicate isColocated10 ( DataFlow:: Node n ) {
112- exists ( Location l |
113- l = n .getLocation ( ) and
114- strictcount ( DataFlow:: Node other | other .getLocation ( ) = l ) >= 10
115- )
116- }
117-
118107class CrateElement extends Element {
119108 CrateElement ( ) {
120109 this instanceof Crate or
@@ -220,9 +209,6 @@ predicate taintStats(string key, int value) {
220209 or
221210 key = "Taint reach - per million nodes" and value = getTaintReach ( ) .floor ( )
222211 or
223- key = "Taint nodes - highly colocated nodes" and
224- value = count ( DataFlow:: Node n | isColocated10 ( n ) )
225- or
226212 key = "Taint sinks - query sinks" and value = getQuerySinksCount ( )
227213 or
228214 key = "Taint sinks - cryptographic operations" and
You can’t perform that action at this time.
0 commit comments