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]
/
string
/
argz-extract.shared.s
blob
7f2a85a1bff3ddbc554ff445150e1c37ac6bdcf6
1
.text
2
#APP
3
memmove
=
__GI_memmove
4
memset
=
__GI_memset
5
memcpy
=
__GI_memcpy
6
#NO_APP
7
.p2align 4,,15
8
.globl __argz_extract
9
.type __argz_extract, @function
10
__argz_extract
:
11
testq
%
rsi
, %
rsi
12
pushq
%
r12
13
pushq
%
rbp
14
movq
%
rdx
, %
rbp
15
pushq
%
rbx
16
je
.L2
17
movq
%
rdi
, %
rbx
18
movq
%
rsi
, %
r12
19
.p2align 4,,10
20
.p2align 3
21
.L3:
22
movq
%
rbx
, %
rdi
23
addq $
8
, %
rbp
24
call __GI_strlen
25
movq
%
rbx
, -
8
(%
rbp
)
26
leaq
1
(%
rbx
,%
rax
), %
rbx
27
notq
%
rax
28
addq
%
rax
, %
r12
29
jne
.L3
30
.L2:
31
movq $
0
,
0
(%
rbp
)
32
popq
%
rbx
33
popq
%
rbp
34
popq
%
r12
35
ret
36
.size __argz_extract, .-__argz_extract
37
.weak argz_extract
38
.set argz_extract,__argz_extract