Files
codeql/python/ql/test/library-tests/descriptors/Properties.ql
2025-11-26 12:30:31 +00:00

12 lines
312 B
Plaintext

import python
private import LegacyPointsTo
from PropertyValue p, string method_name, FunctionValue method
where
method_name = "getter" and method = p.getGetter()
or
method_name = "setter" and method = p.getSetter()
or
method_name = "deleter" and method = p.getDeleter()
select method, method_name, p