mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
16 lines
378 B
Plaintext
16 lines
378 B
Plaintext
/**
|
|
* @id py/examples/builtin-object
|
|
* @name Builtin objects
|
|
* @description Finds expressions that refer to an object in the builtins module (like int or None).
|
|
* @tags reference
|
|
* builtin
|
|
* object
|
|
*/
|
|
|
|
import python
|
|
private import LegacyPointsTo
|
|
|
|
from ExprWithPointsTo e, string name
|
|
where e.pointsTo(Value::named(name)) and not name.charAt(_) = "."
|
|
select e
|