blob: 6cb193dd5fab77c52259ff96deddee1fa8bfcdd5 [file] [log] [blame]
.. 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.