xref: /llvm-project/clang-tools-extra/docs/clang-tidy/checks/cert/env33-c.rst (revision 2d09ac4037415ab0044ad508aae2ff8b2559a9d8)
1.. title:: clang-tidy - cert-env33-c
2
3cert-env33-c
4============
5
6This check flags calls to ``system()``, ``popen()``, and ``_popen()``, which
7execute a command processor. It does not flag calls to ``system()`` with a null
8pointer argument, as such a call checks for the presence of a command processor
9but does not actually attempt to execute a command.
10
11This check corresponds to the CERT C Coding Standard rule
12`ENV33-C. Do not call system()
13<https://www.securecoding.cert.org/confluence/display/c/ENV33-C.+Do+not+call+system()>`_.
14