FaultDetection-NullPointerDereference¶
There shall be no attempt to dereference a null pointer
Required inputs: IR, StaticSemanticAnalysis
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
null_deref |
Pointer is NULL at dereference |
None |
False |
null_this_arg |
Pointer passed in as argument for this is NULL |
None |
False |
possible_null_deref |
Pointer may be NULL at dereference |
None |
False |
possible_null_deref_improbable |
Pointer may be NULL at dereference (improbable) |
None |
False |
possible_null_this_arg |
Pointer passed in as argument for this may be NULL |
None |
False |
Options¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
filter_multiple_instances¶
filter_multiple_instances : bool = False
report_null_this¶
report_null_this : bool = False
witness_paths¶
witness_paths : bool = True