AutosarC++18_10-A5.5.1

A pointer to member shall not access non-existent class members

Required inputs: IR, StaticSemanticAnalysis

Possible Messages

Key

Text

Severity

Disabled

non-existing

Calling a non-existing member via a pointer-to-member call.

None

False

uninitialized

Uninitialized pointer-to-member called.

None

False

Options

pointer_target_limit

pointer_target_limit : int | None = 5

Maximal number of pointer targets per operand. If an operand refers to a larger number of pointer values it will not be considered by this rule. Lower values speed up the analysis but might cause false negatives. If unset, all targets are checked.