mirror of
https://github.com/github/codeql.git
synced 2026-01-12 14:10:21 +01:00
19 lines
406 B
Plaintext
19 lines
406 B
Plaintext
/**
|
|
* @name points-to fails for expression.
|
|
* @description Expression does not "point-to" an object which prevents type inference.
|
|
* @kind problem
|
|
* @id py/points-to-failure
|
|
* @problem.severity info
|
|
* @tags debug
|
|
* @deprecated
|
|
*/
|
|
|
|
import python
|
|
|
|
from Expr e
|
|
where exists(ControlFlowNode f |
|
|
f = e.getAFlowNode() |
|
|
not f.refersTo(_)
|
|
)
|
|
|
|
select e, "Expression does not 'point-to' any object." |