2efea72764c62aabe5b16ab43fb9e7018d40be00
2 #include <msvcrt/stdlib.h>
8 register unsigned int as
= s
;
10 // alloca(0) should not return the stack pointer
21 "subl %%edx, %%esp \n"
22 "movl %%esp, %%eax \n"
23 "addl $20, %%eax \n"//4 bytes + 16 bytes = arguments
34 void *_alloca(size_t s
)
36 register unsigned int as
= s
;
38 // alloca(0) should not return the stack pointer
43 if ( (s
& 0xfffffffc) != 0 )
53 "subl %%edx, %%esp \n"
54 "movl %%esp, %%eax \n"
55 "addl $20, %%eax \n"//4 bytes + 16 bytes = arguments