tidy - bugprone-command-processor — Extra Clang Tools 22.0.0git documentation (original) (raw)

bugprone-command-processor

Flags calls to system(), popen(), and _popen(), which execute a command processor. It does not flag calls to system() with a null pointer argument, as such a call checks for the presence of a command processor but does not actually attempt to execute a command.

References

This check corresponds to the CERT C Coding Standard ruleENV33-C. Do not call system().