|
Checks the stack for corruption caused by a buffer overflow.
Unit
Syntax
ParametersASecurityCookie [in] The variable initialized by the __initialize_security_cookie function.
ALocation [in, optional] An optional human-readable description of the caller. For example, a function's name. This description will be used only if stack corruption is detected and an error is thrown.
RemarksThis function ensures that there was no stack corruption inside current routine. If ASecurityCookie was changed - then the stack was corrupted. The function will trigger EurekaLog crash report in this case. If EurekaLog is disabled - then run-time error is triggerred. If error is unhandled - the process is terminated with $C0000409 (STATUS_STACK_BUFFER_OVERRUN) exit code.
Examples
See also
| ||||||||||||