mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
TokenBuiltFromUuid formatting
This commit is contained in:
@@ -30,8 +30,8 @@ class TokenAssignmentValueSink extends DataFlow::Node {
|
||||
TokenAssignmentValueSink() {
|
||||
exists(string name | name.toLowerCase().matches(["%token", "%code"]) |
|
||||
exists(PropWrite pw | this = pw.getRhs() | pw.getPropertyName().toLowerCase() = name)
|
||||
or
|
||||
exists(AssignExpr ae | this = ae.getRhs().flow() |
|
||||
or
|
||||
exists(AssignExpr ae | this = ae.getRhs().flow() |
|
||||
ae.getLhs().(VariableAccess).getVariable().getName().toLowerCase() = name
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user