Searched refs:ASSERT_FORTIFY (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | fortify_test.cpp | 32 #define ASSERT_FORTIFY(expr) ASSERT_EXIT(expr, testing::KilledBySignal(SIGABRT), "FORTIFY") macro 34 #define ASSERT_FORTIFY(expr) ASSERT_EXIT(expr, testing::KilledBySignal(SIGABRT), "") macro 56 ASSERT_FORTIFY(stpncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F() 63 ASSERT_FORTIFY(stpncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F() 69 ASSERT_FORTIFY(strncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F() 76 ASSERT_FORTIFY(strncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F() 83 ASSERT_FORTIFY(sprintf(myfoo.a, "%s", source_buf)); in TEST_F() 88 ASSERT_FORTIFY(sprintf(myfoo.a, "0123456789")); in TEST_F() 103 ASSERT_FORTIFY(vsprintf_helper2("%s", "0123456789")); in TEST_F() 107 ASSERT_FORTIFY(vsprintf_helper2("0123456789")); in TEST_F() [all …]
|