[PATCH] D45509: [asan] Reduce flakiness in stack-overflow detection

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 11 11:42:23 PDT 2018


kubamracek added a comment.

In https://reviews.llvm.org/D45509#1064637, @eugenis wrote:

> Out of curiosity, how  does access that far below SP happen in that test? Redzone? But that's not a leaf function.


This is related to stack protectors and stack probing, see https://reviews.llvm.org/D40856. When stack probing is enabled, we make an access to the end of the frame before SP is updated.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D45509





More information about the llvm-commits mailing list