We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0868951 commit ceb169bCopy full SHA for ceb169b
csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/Local.qll
@@ -44,14 +44,6 @@ abstract class CommandLineArgumentSource extends LocalFlowSource {
44
override string getSourceType() { result = "command line argument" }
45
}
46
47
-// private class SystemEnvironmentCommandLineSource extends CommandLineArgumentSource {
48
-// SystemEnvironmentCommandLineSource() {
49
-// exists(PropertyAccess pa | this.asExpr() = pa |
50
-// pa.getTarget().hasName("CommandLine") and
51
-// pa.getTarget().getDeclaringType().hasFullyQualifiedName("System", "Environment")
52
-// )
53
-// }
54
55
private class MainMethodArgumentSource extends CommandLineArgumentSource {
56
MainMethodArgumentSource() { this.asParameter() = any(MainMethod mainMethod).getAParameter() }
57
0 commit comments