repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
syslog: Improve fortify with clang
[glibc.git]
/
sysdeps
/
sparc
/
sparc32
/
stackguard-macros.h
blob
1eef0f19f007cefcf71ac62b35caeaf84aca3d03
1
#include <stdint.h>
2
3
#define STACK_CHK_GUARD \
4
({ uintptr_t x; asm (
"ld [%%g7+0x14], %0"
:
"=r"
(x)); x; })
5
6
#define POINTER_CHK_GUARD \
7
({ uintptr_t x; asm (
"ld [%%g7+0x18], %0"
:
"=r"
(x)); x; })