Searched refs:EXPECT_FDSAN_DEATH (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | fdsan_test.cpp | 37 #define EXPECT_FDSAN_DEATH(expression, regex) \ macro 68 EXPECT_FDSAN_DEATH(android_fdsan_close_with_tag(fd, 0xdeadbeef), "actually unowned"); in TEST_F() 75 EXPECT_FDSAN_DEATH(android_fdsan_exchange_owner_tag(fd, 0xbadc0de, 0xdeadbeef), in TEST_F() 84 EXPECT_FDSAN_DEATH(close(fd), "expected to be unowned, actually owned"); in TEST_F() 100 EXPECT_FDSAN_DEATH(android_fdsan_close_with_tag(fd, 0xdeadc0de), "expected to be owned"); in TEST_F() 108 EXPECT_FDSAN_DEATH(android_fdsan_exchange_owner_tag(fd, 0xbadc0de, 0xdeadbeef), in TEST_F() 117 EXPECT_FDSAN_DEATH(close(fileno(f)), "actually owned by FILE"); in TEST_F() 125 EXPECT_FDSAN_DEATH(close(dirfd(dir)), "actually owned by DIR"); in TEST_F() 150 EXPECT_FDSAN_DEATH(android_fdsan_exchange_owner_tag(fd, 0xbadc0de, 0xdeadbeef), in TEST_F() 160 EXPECT_FDSAN_DEATH(android_fdsan_exchange_owner_tag(fd, 0xbadc0de, 0xdeadbeef), in TEST_F() [all …]
|