| 1 |
.. title:: clang-tidy - clang-analyzer-optin.taint.TaintedAlloc |
| 2 |
.. meta:: |
| 3 |
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#optin-taint-taintedalloc |
| 4 |
|
| 5 |
clang-analyzer-optin.taint.TaintedAlloc |
| 6 |
======================================= |
| 7 |
|
| 8 |
Check for memory allocations, where the size parameter might be a tainted |
| 9 |
(attacker controlled) value. |
| 10 |
|
| 11 |
The `clang-analyzer-optin.taint.TaintedAlloc` check is an alias, please see |
| 12 |
`Clang Static Analyzer Available Checkers |
| 13 |
<https://clang.llvm.org/docs/analyzer/checkers.html#optin-taint-taintedalloc>`_ |
| 14 |
for more information. |