2012-05-15 23:34:30 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
extern uintptr_t __stack_chk_guard;
|
|
|
|
#define STACK_CHK_GUARD __stack_chk_guard
|
2013-09-23 00:52:09 -04:00
|
|
|
|
2013-09-23 01:44:38 -04:00
|
|
|
#ifdef PTRGUARD_LOCAL
|
2013-09-23 00:52:09 -04:00
|
|
|
extern uintptr_t __pointer_chk_guard_local;
|
2013-09-23 01:44:38 -04:00
|
|
|
# define POINTER_CHK_GUARD __pointer_chk_guard_local
|
|
|
|
#else
|
|
|
|
extern uintptr_t __pointer_chk_guard;
|
|
|
|
# define POINTER_CHK_GUARD __pointer_chk_guard
|
|
|
|
#endif
|