[clang] [clang][analyzer] Add checker 'alpha.core.FixedAddressDereference' (PR #127191)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 17 02:17:06 PST 2025


=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/127191 at github.com>


================
@@ -129,6 +129,8 @@ The ``SuppressAddressSpaces`` option suppresses
 warnings for null dereferences of all pointers with address spaces. You can
 disable this behavior with the option
 ``-analyzer-config core.NullDereference:SuppressAddressSpaces=false``.
+Value of this option is used for checker
----------------
steakhal wrote:

I'd prefer adding and the analyzer option in this PR to prevent a weird half-ways state.
We should also announce this new checker in the release notes along with the change that the option `SuppressAddressSpaces` was hoisted to bring visibility.

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


More information about the cfe-commits mailing list