llvm/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/unix.MallocSizeof.rst

.. title:: clang-tidy - clang-analyzer-unix.MallocSizeof
.. meta::
   :http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#unix-mallocsizeof

clang-analyzer-unix.MallocSizeof
================================

Check for dubious malloc arguments involving sizeof.

The `clang-analyzer-unix.MallocSizeof` check is an alias, please see
`Clang Static Analyzer Available Checkers
<https://clang.llvm.org/docs/analyzer/checkers.html#unix-mallocsizeof>`_
for more information.