Files
codeql/python/ql/src/analysis/PointsToFailure.ql
Felicity Chapman caf6b950ac Remove trailing periods from @name metadata in query files
Fixed 73 .ql query files where the @name metadata contained an ending period.
This ensures consistency with the CodeQL query metadata style guidelines.
2025-11-26 14:29:51 +00:00

17 lines
437 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
private import LegacyPointsTo
from Expr e
where exists(ControlFlowNodeWithPointsTo f | f = e.getAFlowNode() | not f.refersTo(_))
select e, "Expression does not 'point-to' any object."