clarify the purpose of this project
[nyanglibc.git] / debug / vsprintf_chk.s
blob06b7feaff86d471253b7b81590b2e0a648613870
1 .text
2 .p2align 4,,15
3 .globl ___vsprintf_chk
4 .type ___vsprintf_chk, @function
5 ___vsprintf_chk:
6 movq %rdx, %rax
7 testl %esi, %esi
8 movq %rcx, %rdx
9 movq %r8, %rcx
10 setg %r8b
11 testq %rax, %rax
12 je .L9
13 movzbl %r8b, %r8d
14 movq %rax, %rsi
15 leal 4(%r8,%r8), %r8d
16 jmp __vsprintf_internal
17 .L9:
18 subq $8, %rsp
19 call __chk_fail
20 .size ___vsprintf_chk, .-___vsprintf_chk
21 .globl __vsprintf_chk
22 .hidden __vsprintf_chk
23 .set __vsprintf_chk,___vsprintf_chk
24 .hidden __chk_fail
25 .hidden __vsprintf_internal