diff options
author | Evgenii Stepanov <eugenis@google.com> | 2020-08-11 20:26:00 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-08-11 20:26:00 +0000 |
commit | 99d9bfa6b409145847c0f78c976ce9595500f1bc (patch) | |
tree | d0366460b2d99b9bcc44f635408a02b1e6c732dc | |
parent | 44f0faa247d9345bfd94472ee7d6b003f4c7864e (diff) | |
parent | d43f9a88313418f7e786a6151a4ef966ce5a61ce (diff) | |
download | bionic-99d9bfa6b409145847c0f78c976ce9595500f1bc.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: I6601c7fbc627b71cffad0b9043926e45166b8ecd
-rw-r--r-- | tests/cfi_test.cpp | 3 |
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 |