commit | 5cb963698c892aadf81c2bf0725b2e01f6889132 | [log] [tgz] |
---|---|---|
author | Vitaly Buka <vitalybuka@google.com> | Thu May 20 16:17:25 2021 -0700 |
committer | Christopher Ferris <cferris@google.com> | Mon May 24 12:45:30 2021 -0700 |
tree | c307c55def45444e5eb070050669e1365c1bd14a | |
parent | a99b779f2dbe2a6a3c3f2271dd0e8a3c71f55dfe [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 Change-Id: Iac44fbf332b1174dae081eec5730720a996c86fd