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

Member predicate PythonFunctionObjectInternal::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()