@@ -129,8 +129,8 @@ The ``SuppressAddressSpaces`` option suppresses
129129warnings for null dereferences of all pointers with address spaces. You can
130130disable this behavior with the option
131131``-analyzer-config core.NullDereference:SuppressAddressSpaces=false ``.
132- Value of this option is used for checker
133- :ref: `_alpha-core-FixedAddressDereference ` too .
132+ Value of this option is also used for checker
133+ :ref: `_alpha-core-FixedAddressDereference `.
134134*Defaults to true *.
135135
136136.. code-block :: objc
@@ -2925,19 +2925,7 @@ Check for assignment of a fixed address to a pointer.
29252925
29262926alpha.core .FixedAddressDereference (C, C++, ObjC)
29272927"""""""""""""""""""""""""""""""""""""""""""""""""
2928- Check for dereferences of fixed values used as pointers.
2929-
2930- Similarly as at :ref: `_core-NullDereference `, the checker specifically does
2931- not report dereferences for x86 and x86-64 targets when the
2932- address space is 256 (x86 GS Segment), 257 (x86 FS Segment), or 258 (x86 SS
2933- segment). (See `X86/X86-64 Language Extensions
2934- <https://clang.llvm.org/docs/LanguageExtensions.html#memory-references-to-specified-segments> `__
2935- for reference.)
2936-
2937- If you want to disable this behavior, set the ``SuppressAddressSpaces `` option
2938- of checker ``core.NullDereference `` to false, like
2939- ``-analyzer-config core.NullDereference:SuppressAddressSpaces=false ``. The value
2940- of this option is used for both checkers.
2928+ Check for dereferences of fixed addresses.
29412929
29422930.. code-block :: c
29432931
@@ -2957,6 +2945,18 @@ of this option is used for both checkers.
29572945 int x = (*p_function)('x', 'y'); // NO warning yet at functon pointer calls
29582946 }
29592947
2948+ Similarly to :ref: `_core-NullDereference `, the checker intentionally does
2949+ not report dereferences for x86 and x86-64 targets when the
2950+ address space is 256 (x86 GS Segment), 257 (x86 FS Segment), or 258 (x86 SS
2951+ Segment). (See `X86/X86-64 Language Extensions
2952+ <https://clang.llvm.org/docs/LanguageExtensions.html#memory-references-to-specified-segments> `__
2953+ for reference.)
2954+
2955+ If you want to disable this behavior, set the ``SuppressAddressSpaces `` option
2956+ of checker ``core.NullDereference `` to false, like
2957+ ``-analyzer-config core.NullDereference:SuppressAddressSpaces=false ``. The value
2958+ of this option is used for both checkers.
2959+
29602960.. _alpha-core-PointerArithm :
29612961
29622962alpha.core .PointerArithm (C)
0 commit comments