AutosarC++18_10-M7.5.2¶
The address of an object with automatic storage shall not be assigned to another object that may persist after the first object has ceased to exist
Required inputs: IR
See Also
Rule GeneralPurpose-ReferenceToLocalVariableNote
For legal reasons, this rule’s description is not part of the public documentation.