clarify the purpose of this project
[nyanglibc.git] / debug / vasprintf_chk.shared.s
bloba3ba51e973f2230563be2eb72a3e7c9e36f67a80
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 __vasprintf_chk
9 .type __vasprintf_chk, @function
10 __vasprintf_chk:
11 movq %rdx, %rax
12 movq %rcx, %rdx
13 xorl %ecx, %ecx
14 testl %esi, %esi
15 movq %rax, %rsi
16 setg %cl
17 addl %ecx, %ecx
18 jmp __vasprintf_internal
19 .size __vasprintf_chk, .-__vasprintf_chk
20 .hidden __vasprintf_internal