FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/python/ql/src/analysis/PointsToFailure.ql at codeql-cli/v2.27.1 · github/codeql · GitHub
github
codeql
Repository navigation
Code
Issues
1k
(1k)
Pull requests
481
(481)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
python
/
ql
/
src
/
analysis
/
PointsToFailure.ql
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (14 loc) · 432 Bytes
Breadcrumbs
codeql
/
python
/
ql
/
src
/
analysis
/
PointsToFailure.ql
Copy path
File metadata and controls
16 lines (14 loc) · 432 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
* @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
.
getNode
(
)
=
e
|
not
f
.
refersTo
(
_
)
)
select
e
,
"Expression does not 'point-to' any object."
Back
|
FazBrowse Home
|
New Git URL