commit | ab75b380cb3156fa19a7fa2f2bbec66aa439820f | [log] [tgz] |
---|---|---|
author | Vitaly Buka <vitalybuka@google.com> | Thu May 20 16:17:25 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue May 25 19:10:56 2021 -0700 |
tree | 0b873e528834267e4423541bbf584f968ce48487 | |
parent | a935753a02f44a7c96840f8d0594012cd6052cb5 [diff] |
[scudo] Fix EXPECT_DEATH tests Put allocate/deallocate next to memory access inside EXPECT_DEATH block. This way we reduce probability that memory is not mapped by unrelated code. It's still not absolutely guaranty that mmap does not happen so we repeat it few times to be sure. Reviewed By: cryptoad Differential Revision: https://reviews.llvm.org/D102886 GitOrigin-RevId: 96b760607f8e82e563dc8cac67b2d2dfb76d5d33