Files
codeql/python/ql/test/2/library-tests/six/test.ql
2019-02-08 14:49:04 +00:00

12 lines
251 B
Plaintext

import python
predicate six(ModuleObject m) {
m.getName() = "six"
or
six(m.getPackage())
}
from ModuleObject mod, string name, Object obj
where mod.attributeRefersTo(name, obj, _) and six(mod)
select mod.toString(), name, obj.toString()