diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-07-29 15:09:52 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-07-29 15:09:52 +0000 |
commit | c9608ab2e25c389f59582acad85d1bcc7d188fe7 (patch) | |
tree | 4ce171ee21f4a19a70c241729dc7872b57f6b10f | |
parent | ce45ee11847fc6fc94fc08cdcb6a6e66c509aa19 (diff) | |
parent | ac7ffe344e6aa5b96c47a3ba2388b71f19abb955 (diff) | |
download | bionic-c9608ab2e25c389f59582acad85d1bcc7d188fe7.tar.gz |
Merge "Remove stack address check in cfi_basic test." into android10-tests-dev
-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 e155e1a84..b4522ec8b 100644 --- a/tests/cfi_test.cpp +++ b/tests/cfi_test.cpp @@ -85,9 +85,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. This is always invalid and gets the process killed. void* p = malloc(4096); EXPECT_DEATH(__cfi_slowpath(46, p), ""); |