Autoformat.

This commit is contained in:
Geoffrey White
2021-10-14 16:00:23 +01:00
parent f08d2ee759
commit 8f30b8b586
4 changed files with 7 additions and 14 deletions

View File

@@ -13,9 +13,7 @@ import semmle.python.security.strings.Untrusted
/** Abstract taint sink that is potentially vulnerable to malicious shell commands. */
abstract class CommandSink extends TaintSink { }
private ModuleObject osOrPopenModule() {
result.getName() = ["os", "popen2"]
}
private ModuleObject osOrPopenModule() { result.getName() = ["os", "popen2"] }
private Object makeOsCall() {
exists(string name | result = ModuleObject::named("subprocess").attr(name) |