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]
/
malloc
/
reallocarray.s
blob
9fb4701bbc7c953230dc94c1546d91287e72f083
1
.text
2
.p2align 4,,15
3
.globl __libc_reallocarray
4
.hidden __libc_reallocarray
5
.type __libc_reallocarray, @function
6
__libc_reallocarray
:
7
movq
%
rsi
, %
rax
8
mulq
%
rdx
9
movq
%
rax
, %
rsi
10
jo
.L3
11
jmp realloc@PLT
12
.L3:
13
movq __libc_errno@gottpoff
(%
rip
), %
rax
14
movl $
12
, %
fs
:(%
rax
)
15
xorl
%
eax
, %
eax
16
ret
17
.size __libc_reallocarray, .-__libc_reallocarray
18
.weak reallocarray
19
.set reallocarray,__libc_reallocarray