FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql-queries/java/github/Hardcoded.qll at main · advanced-security/codeql-queries · GitHub
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
advanced-security
codeql-queries
Repository navigation
Code
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql-queries
/
java
/
github
/
Hardcoded.qll
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (9 loc) · 351 Bytes
Breadcrumbs
codeql-queries
/
java
/
github
/
Hardcoded.qll
Copy path
File metadata and controls
14 lines (9 loc) · 351 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
private
import
semmle.code.java.dataflow.DataFlow
private
import
semmle.code.java.security.HardcodedCredentials
abstract
class
Hardcoded
extends
DataFlow
::
Node
{
}
class
HCExpr
extends
Hardcoded
{
HCExpr
(
)
{
this
.
asExpr
(
)
instanceof
HardcodedExpr
and
not
this
.
asExpr
(
)
.
getEnclosingCallable
(
)
instanceof
ToStringMethod
}
}
Back
|
FazBrowse Home
|
New Git URL