xref: /optee_os/lib/libutils/isoc/stack_check.c (revision 01d6a9da27b50dac71b223e65411e8392cbf71cd)
1 // SPDX-License-Identifier: BSD-2-Clause
2 /*
3  * Copyright (c) 2014, STMicroelectronics International N.V.
4  */
5 void *__stack_chk_guard = (void *)0x00000aff;
6 
7 void __attribute__((noreturn)) __stack_chk_fail(void);
8 
9 void __stack_chk_fail(void)
10 {
11 	while (1)
12 		;
13 }
14 
15