From RAD Studio
Jump to: navigation, search

Go Up to C++ Audits


Checks that addresses to stack memory do not escape the function.

Checks whether an invalid stack address is stored into a global or heap location.

For example, this can happens if you are using objects declared with appropriate storage durations.

An object has a storage duration that determines its lifetime. There are three storage durations: static, automatic, and allocated. Attempting to access an object outside of its lifetime can result in undefined behavior.

See Also