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

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 15 09:41:21 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:

```suggestion
Value of this option is also used for checker
```

It's really weird to see that the option of a different checker influences some other checker.
That that point maybe the checker option should be hoisted into an analyzer config option instead.
WDYT?

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


More information about the cfe-commits mailing list