blob: 1eef0f19f007cefcf71ac62b35caeaf84aca3d03 (
plain) (
blame)
1
2
3
4
5
6
7
|
#include <stdint.h>
#define STACK_CHK_GUARD \
({ uintptr_t x; asm ("ld [%%g7+0x14], %0" : "=r" (x)); x; })
#define POINTER_CHK_GUARD \
({ uintptr_t x; asm ("ld [%%g7+0x18], %0" : "=r" (x)); x; })
|