mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Merge pull request #4865 from esbena/js/fix-execa-model
Approved by erik-krogh
This commit is contained in:
@@ -18,15 +18,18 @@ private predicate execApi(string mod, string fn, int cmdArg, int optionsArg, boo
|
||||
shell = false and
|
||||
(
|
||||
fn = "node" or
|
||||
fn = "shell" or
|
||||
fn = "shellSync" or
|
||||
fn = "stdout" or
|
||||
fn = "stderr" or
|
||||
fn = "sync"
|
||||
)
|
||||
or
|
||||
shell = true and
|
||||
(fn = "command" or fn = "commandSync")
|
||||
(
|
||||
fn = "command" or
|
||||
fn = "commandSync" or
|
||||
fn = "shell" or
|
||||
fn = "shellSync"
|
||||
)
|
||||
) and
|
||||
cmdArg = 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user