Open vprevosto opened 7 years ago
Does a local variable from a caller function still satisfy its invariant when the callee returns?
The only way for the callee to modify it would be if it is passed through a pointer, and the manual explicitely says that nothing is guaranteed for memory locations accessed through a pointer.
Does a local variable from a caller function still satisfy its invariant when the callee returns?