CodeQL library for C/C++
codeql/cpp-all 0.12.10 (changelog, source)
Search

Predicate shellCommandPreface

The name of a shell and the flag used to preface a command that should be parsed. Public for testing purposes.

Import path

import semmle.code.cpp.security.CommandExecution
predicate shellCommandPreface(string cmd, string flag)