clang-tools 22.0.0git
|
Execution of a command processor can lead to security vulnerabilities, and is generally not required. More...
#include <CommandProcessorCheck.h>
Public Member Functions | |
CommandProcessorCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Execution of a command processor can lead to security vulnerabilities, and is generally not required.
Instead, prefer to launch executables directly via mechanisms that give you more control over what executable is actually launched.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/command-processor.html
Definition at line 23 of file CommandProcessorCheck.h.
|
inline |
Definition at line 25 of file CommandProcessorCheck.h.
|
override |
Definition at line 31 of file CommandProcessorCheck.cpp.
|
override |
Definition at line 16 of file CommandProcessorCheck.cpp.