File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,16 @@ class MethodCall extends Call instanceof MethodCallImpl {
116116 }
117117}
118118
119+ /**
120+ * A `Method` call that has no known target.
121+ * These will typically be calls to methods inherited from a superclass.
122+ * TODO: When API Graphs is able to resolve calls to methods like `Kernel.send`
123+ * this class is no longer necessary and should be removed.
124+ */
125+ class UnknownMethodCall extends MethodCall {
126+ UnknownMethodCall ( ) { not exists ( this .( Call ) .getATarget ( ) ) }
127+ }
128+
119129/**
120130 * A call to a setter method.
121131 * ```rb
Original file line number Diff line number Diff line change @@ -8,14 +8,6 @@ import core.Module
88import core.Array
99import core.Regexp
1010
11- /**
12- * A `Method` call that has no known target.
13- * These will typically be calls to methods inherited from a superclass.
14- */
15- class UnknownMethodCall extends MethodCall {
16- UnknownMethodCall ( ) { not exists ( this .( Call ) .getATarget ( ) ) }
17- }
18-
1911/**
2012 * A system command executed via subshell literal syntax.
2113 * E.g.
Original file line number Diff line number Diff line change 11private import codeql.ruby.AST
22private import codeql.ruby.Concepts
33private import codeql.ruby.DataFlow
4- private import codeql.ruby.frameworks.Core
54
65module BasicObject {
76 /**
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ private import codeql.ruby.Concepts
55private import codeql.ruby.DataFlow
66private import codeql.ruby.dataflow.FlowSummary
77private import codeql.ruby.dataflow.internal.DataFlowDispatch
8- private import codeql.ruby.frameworks.Core
98
109/** Modeling for the `Kernel` class. */
1110module Kernel {
Original file line number Diff line number Diff line change 11private import codeql.ruby.AST
22private import codeql.ruby.Concepts
33private import codeql.ruby.DataFlow
4- private import codeql.ruby.frameworks.Core
54
65module Module {
76 /**
Original file line number Diff line number Diff line change 1- private import codeql.ruby.frameworks.Core
1+ private import codeql.ruby.AST
22
33module Object {
44 /**
You can’t perform that action at this time.
0 commit comments