We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c0c335 commit e180b7eCopy full SHA for e180b7e
ruby/ql/lib/codeql/ruby/ApiGraphs.qll
@@ -359,6 +359,11 @@ module API {
359
Location getLocation() {
360
result = this.getInducingNode().getLocation()
361
or
362
+ exists(DataFlow::ModuleNode mod |
363
+ this = Impl::MkModuleObject(mod) and
364
+ result = mod.getLocation()
365
+ )
366
+ or
367
// For nodes that do not have a meaningful location, `path` is the empty string and all other
368
// parameters are zero.
369
not exists(this.getInducingNode()) and
0 commit comments