mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
17 lines
352 B
Plaintext
17 lines
352 B
Plaintext
|
|
import python
|
|
|
|
private import semmle.python.objects.ObjectInternal
|
|
private import semmle.python.pointsto.PointsTo
|
|
|
|
/** Make unknown type visible */
|
|
class UnknownType extends UnknownClassInternal {
|
|
|
|
override string toString() { result = "*UNKNOWN TYPE" }
|
|
|
|
}
|
|
|
|
from ClassObjectInternal c
|
|
where not c.isBuiltin()
|
|
select c.toString(), Types::getMro(c)
|