[asan][fuchsia] Implement PlatformUnpoisonStacks
This CL modifies the PlatformUnpoisonStacks so that fuchsia can implement its own logic for unpoisoning the stacks. For the general case, the behavior is the same as with regular asan: it will unpoison everything from the current stack pointer until the base of the stack (stack top). In some situations, the current stack might not be the same as the default stack. In those cases, the code will now unpoison the entire default stack, and will also unpoison the current page of the stack. Reviewed By: mcgrathr Differential Revision: https://reviews.llvm.org/D106835
Loading
Please sign in to comment