mirror of
https://github.com/github/codeql.git
synced 2025-12-26 05:36:32 +01:00
16 lines
396 B
Plaintext
16 lines
396 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."
|