Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CERT C++ Secure Coding StandardDCL30-CPP. Declare objects with appropriate storage durations
ISO/IEC TR TS 17961(Draft) Escaping of the address of an automatic object [addrescape]
ISO/IEC TR 24772Dangling references to stack frames [DCM]
MISRA-CRule 8.6 (required): Functions shall be declared at file scope

...