mirror of
https://github.com/github/codeql.git
synced 2026-01-18 17:04:50 +01:00
Merge pull request #3067 from theopolis/cpp-additional-commandexec-apis
Add execve to CommandExecution
This commit is contained in:
@@ -99,6 +99,8 @@ class ArrayExecFunctionCall extends FunctionCall {
|
||||
getTarget().hasGlobalName("execv") or
|
||||
getTarget().hasGlobalName("execvp") or
|
||||
getTarget().hasGlobalName("execvpe") or
|
||||
getTarget().hasGlobalName("execve") or
|
||||
getTarget().hasGlobalName("fexecve") or
|
||||
// Windows variants
|
||||
getTarget().hasGlobalName("_execv") or
|
||||
getTarget().hasGlobalName("_execve") or
|
||||
|
||||
Reference in New Issue
Block a user