mirror of
https://github.com/github/codeql.git
synced 2025-12-27 22:26:31 +01:00
12 lines
251 B
Plaintext
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()
|