mirror of
https://github.com/github/codeql.git
synced 2026-04-19 14:04:09 +02:00
os.Args variable read
This commit is contained in:
@@ -43,4 +43,10 @@ module Os {
|
||||
input = inp and output = outp
|
||||
}
|
||||
}
|
||||
|
||||
private class ArgsSource extends SourceNode {
|
||||
ArgsSource() { exists(Variable v | v.hasQualifiedName("os", "Args") | this = v.getARead()) }
|
||||
|
||||
override string getThreatModel() { result = "commandargs" }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user