mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Javascript: Autoformat.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import javascript
|
||||
|
||||
class TrackedStringLiteral extends DataFlow::TrackedNode {
|
||||
TrackedStringLiteral() {
|
||||
this.asExpr() instanceof ConstantString
|
||||
}
|
||||
TrackedStringLiteral() { this.asExpr() instanceof ConstantString }
|
||||
}
|
||||
|
||||
from TrackedStringLiteral source, DataFlow::Node sink, SsaExplicitDefinition def
|
||||
where source.flowsTo(sink) and sink = DataFlow::ssaDefinitionNode(def) and
|
||||
def.getSourceVariable().getName().toLowerCase() = "password"
|
||||
where
|
||||
source.flowsTo(sink) and
|
||||
sink = DataFlow::ssaDefinitionNode(def) and
|
||||
def.getSourceVariable().getName().toLowerCase() = "password"
|
||||
select sink
|
||||
|
||||
Reference in New Issue
Block a user