Sign in
third-party-mirror
/
GRTEv5
/
ee502f3613c105af57d6cbc317eec7bab7b5cc6b
/
.
/
google3
/
third_party
/
grte
/
v5_src
/
glibc-2.27
/
sysdeps
/
sparc
/
sparc64
/
stackguard-macros.h
blob: cc0c12c0412901cfb00a80da71eb3a117b5d1c5a [
file
] [
log
] [
blame
]
#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
;
})