ISO/IEC TS 17961 [nullref]
Dereferencing an out-of-domain pointer
Description
Rule Definition
Dereferencing an out-of-domain pointer.1
Polyspace Implementation
This checker checks for these issues:
Unsafe pointer arithmetic.
Invalid use of standard library memory routine.
Null pointer.
Arithmetic operation with NULL pointer.
Invalid use of standard library string routine.
A default Bug Finder analysis might not raise a violation of this rule when the input values are unknown and only a subset of inputs can cause an issue. To check for violations caused by specific system input values, run a stricter Bug Finder analysis. See Extend Bug Finder Checkers to Find Defects from Specific System Input Values.
Extend Checker
When the input values are unknown and only a subset of inputs cause an issue, Bug Finder might not detect a Null pointer. To check for violations caused by specific system input values, run a stricter Bug Finder analysis. See Extend Bug Finder Checkers to Find Defects from Specific System Input Values.
Examples
Check Information
Decidability: Undecidable |
Version History
Introduced in R2019a
1 Extracts from the standard "ISO/IEC TS 17961 Technical Specification - 2013-11-15" are reproduced with the agreement of AFNOR. Only the original and complete text of the standard, as published by AFNOR Editions - accessible via the website www.boutique.afnor.org - has normative value.