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
/
wcpcpy_chk.s
blob
3db95bf0efb1b6c9d032588fe139f79410058ef6
1
.text
2
.p2align 4,,15
3
.globl __wcpcpy_chk
4
.type __wcpcpy_chk, @function
5
__wcpcpy_chk
:
6
subq
%
rdi
, %
rsi
7
leaq
-
4
(%
rdi
), %
rax
8
xorl
%
ecx
, %
ecx
9
sarq $
2
, %
rsi
10
leaq
4
(,%
rsi
,
4
), %
rdi
11
jmp
.L3
12
.p2align 4,,10
13
.p2align 3
14
.L2:
15
movl
(%
rax
,%
rdi
), %
esi
16
addq $
1
, %
rcx
17
addq $
4
, %
rax
18
testl
%
esi
, %
esi
19
movl
%
esi
, (%
rax
)
20
je
.L9
21
.L3:
22
cmpq
%
rdx
, %
rcx
23
jne
.L2
24
subq $
8
, %
rsp
25
call __chk_fail
26
.L9:
27
ret
28
.size __wcpcpy_chk, .-__wcpcpy_chk
29
.hidden __chk_fail