search for: __asan_stack_malloc

Displaying 2 results from an estimated 2 matches for "__asan_stack_malloc".

Did you mean: __asan_stack_malloc_0
2018 Sep 21
2
Added AllocaInsts are relocated in stack
Hi Tim, Thanks for your reply. However, I have seen that addressSanitizer has done this by placing redzones around each local variable. But i have not figured out yet how they have done it, I was wondering if there is a switch or a method by which I can reset the slotNumbering given to each instruction. By doing so, LLVM would place them in the expected order I guess. Best regards, Saman On
2018 Sep 21
2
Added AllocaInsts are relocated in stack
...e: > > Thanks for your reply. However, I have seen that addressSanitizer has > done this by placing redzones around each local variable. > > Maybe conceptually, but as far as I can see from the IR ASAN maintains > a completely separate stack via calls to runtime support (like > __asan_stack_malloc). > > > By doing so, LLVM would place them in the expected order I guess. > > I doubt it. Allocating objects on the stack involves a reasonably > sophisticated algorithm to try and minimize space consumed. Some of > that involves reordering variables with different sizes so tha...