Merge "Remove stack address check in cfi_basic test." into android10-tests-dev
This commit is contained in:
commit
c9608ab2e2
1 changed files with 0 additions and 3 deletions
|
@ -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), "");
|
||||
|
|
Loading…
Reference in a new issue