clarify the purpose of this project
[nyanglibc.git] / debug / vswprintf_chk.shared.s
blob97cedc3f56a7da3c025a845830d3e4101fe55615
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 __vswprintf_chk
9 .type __vswprintf_chk, @function
10 __vswprintf_chk:
11 cmpq %rsi, %rcx
12 jb .L9
13 movq %r8, %r10
14 xorl %r8d, %r8d
15 testl %edx, %edx
16 setg %r8b
17 movq %r9, %rcx
18 movq %r10, %rdx
19 addl %r8d, %r8d
20 jmp __vswprintf_internal
21 .p2align 4,,10
22 .p2align 3
23 .L9:
24 subq $8, %rsp
25 call __GI___chk_fail
26 .size __vswprintf_chk, .-__vswprintf_chk
27 .hidden __vswprintf_internal