CodeQL queries 1.23

Skip to end of metadata
Go to start of metadata

Finds places where we create a new instanceof `MyClass`

import python

from Call new, ClassValue cls
where
    cls.getName() = "MyClass" and
    new.getFunc().pointsTo(cls)
select new