CodeQL library for Python
codeql/python-all 0.10.5 ( changelog , source )
Search

Member predicate UnknownInstanceInternal :: descriptorGetInstance

Holds if the result of attribute access on an instance of a class holding this descriptor is value, originating at origin For example, with T.__dict__['name'] = classmethod(f), T().name is a bound-method, binding f and T

predicate descriptorGetInstance ( ObjectInternal instance , ObjectInternal value , CfgOrigin origin )