ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../sysdeps/sparc/sparc64/stackguard-macros.h

8 lines
204 B
C

#include <stdint.h>
#define STACK_CHK_GUARD \
({ uintptr_t x; asm ("ldx [%%g7+0x28], %0" : "=r" (x)); x; })
#define POINTER_CHK_GUARD \
({ uintptr_t x; asm ("ldx [%%g7+0x30], %0" : "=r" (x)); x; })