repo.or.cz
/
nyanglibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clarify the purpose of this project
[nyanglibc.git]
/
debug
/
stpcpy_chk.s
blob
07e3df2ba9c5594a69954cb7e6b4d2085d1a1d3e
1
.text
2
.p2align 4,,15
3
.globl __stpcpy_chk
4
.type __stpcpy_chk, @function
5
__stpcpy_chk
:
6
pushq
%
r13
7
pushq
%
r12
8
movq
%
rdi
, %
r13
9
pushq
%
rbp
10
pushq
%
rbx
11
movq
%
rdx
, %
r12
12
movq
%
rsi
, %
rdi
13
movq
%
rsi
, %
rbp
14
subq $
8
, %
rsp
15
call strlen
16
cmpq
%
r12
, %
rax
17
jnb
.L5
18
leaq
1
(%
rax
), %
rdx
19
movq
%
rbp
, %
rsi
20
movq
%
r13
, %
rdi
21
movq
%
rax
, %
rbx
22
call memcpy@PLT
23
addq $
8
, %
rsp
24
addq
%
rbx
, %
rax
25
popq
%
rbx
26
popq
%
rbp
27
popq
%
r12
28
popq
%
r13
29
ret
30
.L5:
31
call __chk_fail
32
.size __stpcpy_chk, .-__stpcpy_chk
33
.hidden __chk_fail
34
.hidden strlen