aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2020-08-11 20:27:15 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-08-11 20:27:15 +0000
commit7b11b0332e2c2778a91e4b0c7a366f74ec648f95 (patch)
tree75120330db5dd1c52462a3c7eff2cd1f262c1260
parente8929b9204c3221bd989788f587efb4153d8c2e8 (diff)
parentd43f9a88313418f7e786a6151a4ef966ce5a61ce (diff)
downloadbionic-7b11b0332e2c2778a91e4b0c7a366f74ec648f95.tar.gz
Remove stack address check in cfi_basic test. am: cc3c685b5f am: d43f9a8831
Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12347832 Change-Id: Ie28ea0768045b153978d1e4f0d6286ba3f2ce56c
-rw-r--r--tests/cfi_test.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/cfi_test.cpp b/tests/cfi_test.cpp
index 792f917b2..e0ae3afc7 100644
--- a/tests/cfi_test.cpp
+++ b/tests/cfi_test.cpp
@@ -95,9 +95,6 @@ TEST(cfi_test, basic) {
EXPECT_EQ(get_global_address(), get_last_address());
EXPECT_EQ(c, get_count());
- // CFI check for a stack address. This is always invalid and gets the process killed.
- EXPECT_DEATH(__cfi_slowpath(45, reinterpret_cast<void*>(&c)), "");
-
// CFI check for a heap address.
// It's possible that this allocation could wind up in the same CFI granule as
// an unchecked library, which means the below might not crash. To force a