1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #include "stdlib.h"
- void
- __attribute__((noreturn))
- __stack_chk_fail(void)
- {
- abort();
- }
- void
- __attribute__((noreturn))
- __attribute__((visibility ("hidden")))
- __stack_chk_fail_local (void)
- {
- __stack_chk_fail ();
- }
- extern void * __intel_security_cookie;
- #ifdef __x86_64__
- void __intel_security_check_cookie(void * cookie)
- #else
- void __attribute__ ((regparm(1))) __intel_security_check_cookie(void * cookie)
- #endif
- {
- if (cookie == __intel_security_cookie)
- return;
- abort();
- }
|