clarify the purpose of this project
[nyanglibc.git] / debug / vsprintf_chk.shared.s
blob6f12df7e00a6517feae6c25532192ea1d8502999
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 ___vsprintf_chk
9 .type ___vsprintf_chk, @function
10 ___vsprintf_chk:
11 movq %rdx, %rax
12 testl %esi, %esi
13 movq %rcx, %rdx
14 movq %r8, %rcx
15 setg %r8b
16 testq %rax, %rax
17 je .L9
18 movzbl %r8b, %r8d
19 movq %rax, %rsi
20 leal 4(%r8,%r8), %r8d
21 jmp __vsprintf_internal
22 .L9:
23 subq $8, %rsp
24 call __GI___chk_fail
25 .size ___vsprintf_chk, .-___vsprintf_chk
26 .globl __vsprintf_chk
27 .set __vsprintf_chk,___vsprintf_chk
28 .globl __GI___vsprintf_chk
29 .hidden __GI___vsprintf_chk
30 .set __GI___vsprintf_chk,___vsprintf_chk
31 .hidden __vsprintf_internal