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.
os.stdin
1 parent bf824ca commit dd87b1aCopy full SHA for dd87b1a
go/ql/lib/ext/os.model.yml
@@ -53,6 +53,7 @@ extensions:
53
- ["os", "", False, "Open", "", "", "ReturnValue[0]", "file", "manual"]
54
- ["os", "", False, "OpenFile", "", "", "ReturnValue[0]", "file", "manual"]
55
- ["os", "", False, "ReadFile", "", "", "ReturnValue[0]", "file", "manual"]
56
+ - ["os", "", False, "Stdin", "", "", "", "stdin", "manual"]
57
- ["os", "", False, "UserCacheDir", "", "", "ReturnValue[0]", "environment", "manual"]
58
- ["os", "", False, "UserConfigDir", "", "", "ReturnValue[0]", "environment", "manual"]
59
- ["os", "", False, "UserHomeDir", "", "", "ReturnValue[0]", "environment", "manual"]
go/ql/lib/semmle/go/frameworks/stdlib/Os.qll
@@ -43,12 +43,4 @@ module Os {
43
input = inp and output = outp
44
}
45
46
-
47
- private class Stdin extends SourceNode {
48
- Stdin() {
49
- exists(Variable osStdin | osStdin.hasQualifiedName("os", "Stdin") | this = osStdin.getARead())
50
- }
51
52
- override string getThreatModel() { result = "stdin" }
0 commit comments