[clang] [analyzer] Use AllocaRegion in MallocChecker (PR #72402)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 28 01:11:04 PST 2023


=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/72402 at github.com>


https://github.com/steakhal approved this pull request.

Overall, I'm in favor of this change.
On the other hand, I'd urge for not to regress on the diagnostics.
To me, `alloca` is like a VLA; which is prone to misuses, thus the edge-cases count there (esp. if tainted).

https://github.com/llvm/llvm-project/pull/72402


More information about the cfe-commits mailing list