File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
rust/ql/src/queries/telemetry Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import rust
88import codeql.util.ReportStats
99import codeql.rust.elements.internal.CallExprImpl:: Impl as CallExprImpl
1010import codeql.rust.internal.TypeInference as TypeInference
11+ import codeql.rust.internal.Type
1112
1213/**
1314 * A file that is included in the quality statistics.
@@ -30,7 +31,8 @@ module CallTargetStats implements StatsSig {
3031 RelevantInvocationExpr ( ) {
3132 this .getFile ( ) instanceof RelevantFile and
3233 not this instanceof CallExprImpl:: DynamicCallExpr and
33- not this = any ( Operation o | not o .isOverloaded ( _, _, _) )
34+ not this = any ( Operation o | not o .isOverloaded ( _, _, _) ) and
35+ not this = any ( DerefExpr de | TypeInference:: inferType ( de .getExpr ( ) ) instanceof PtrType )
3436 }
3537 }
3638
You can’t perform that action at this time.
0 commit comments