You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[hwasan] Fix rare false negative (zero tag) in two more test cases (#69491)
stack-uas.c and stack-history-length.c both have
-hwasan-record-stack-history=libcall, which makes the stack base
tag fully randomized. They may therefore sometimes have a zero tag
for a stack allocated variable, resulting in a false negative
(#69221 (comment)).
This patch applies the same workaround as used for deep-recursion.c
(aa4dfd3)
and stack-uar.c
(ddf1de2):
have two adjacent stack-allocated variables, and use whichever is not
zero-tagged.
These are the last remaining test cases that use
-hwasan-record-stack-history=libcall.
stack-uas flakiness spotted in the wild:
https://lab.llvm.org/buildbot/#/builders/269/builds/549/steps/11/logs/stdio
stack-history-length:
https://lab.llvm.org/buildbot/#/builders/269/builds/537
Co-authored-by: Thurston Dang <[email protected]>
0 commit comments