Files
codeql/ql/test/library-tests/frameworks/StandardLibrary.ql
Harry Maclean a8f0bce1d1 Add SystemCommandExecution concept
A SystemCommandExecution is a method call or builtin that executes a
system command, either directly or via a subshell.
2021-09-17 17:02:17 +01:00

12 lines
403 B
Plaintext

import codeql.ruby.frameworks.StandardLibrary
query predicate subshellLiteralExecutions(SubshellLiteralExecution e) { any() }
query predicate kernelSystemCallExecutions(KernelSystemCall c) { any() }
query predicate kernelExecCallExecutions(KernelExecCall c) { any() }
query predicate kernelSpawnCallExecutions(KernelSpawnCall c) { any() }
query predicate open3CallExecutions(Open3Call c) { any() }