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