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

Member predicate ModuleObjectInternal :: useOriginAsLegacyObject

Holds if this ‘object’ represents an entity that should be exposed to the legacy points_to API This should hold for almost all objects that do not have an underlying DB object representing their source, for example super objects and bound-method. This should not hold for objects that are inferred to exists by an import statements or the like, but which aren’t in the database.

predicate useOriginAsLegacyObject ( )