CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Member predicate DataFlow::ModuleNode::trackModule

Starts tracking the module object using API graphs.

Concretely, this tracks forward from the following starting points:

  • A constant access that resolves to this module.
  • self in the module scope or in a singleton method of the module.
  • A call to self.class in an instance method of this module or an ancestor module.
Node trackModule()