CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds classes that subclass MyClass

import python

from ClassObject sub, ClassObject base
where
  base.getName() = "MyClass" and
  sub.getABaseType() = base
select sub