summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2020-08-11 20:06:44 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-08-11 20:06:44 +0000
commitd43f9a88313418f7e786a6151a4ef966ce5a61ce (patch)
tree75120330db5dd1c52462a3c7eff2cd1f262c1260
parent3a5a22d607701ee8d5905beef97801538aead820 (diff)
parentcc3c685b5f620f3180534c9e6e6d0b1483ce0cc5 (diff)
Remove stack address check in cfi_basic test. am: cc3c685b5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12347832 Change-Id: Iba89ecc4e8c5c453fa1c8f023c91c14cff5a0a44
-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