Janboe Ye <yuan-bo...@motorola.com> writes: > normally gcc will use expand_builtin_alloca to handle variable array. > But mudflap will force this function to return immediately to invoke > alloca explicit. > > Is there some way to still use expand_builtin_alloca without changing > gcc source code?
mudflap can't check accesses to memory allocated using alloca unless it overrides __builtin_alloca. So if I understand your question correctly, the answer is no. Although, of course, you could simply not use mudflap for the code in question. Ian