summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2020-08-11 20:42:45 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-08-11 20:42:45 +0000
commite54c53be6650bb41293f170b6b160e28854ff99d (patch)
treed0366460b2d99b9bcc44f635408a02b1e6c732dc
parentd10da4eb3006271484986246483bcc330ce0458d (diff)
parent99d9bfa6b409145847c0f78c976ce9595500f1bc (diff)
Remove stack address check in cfi_basic test. am: cc3c685b5f am: d43f9a8831 am: 99d9bfa6b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12347832 Change-Id: I91f6cb07ac87eb3f4f64fa748b57eb9444c3be7b
-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