Home
last modified time | relevance | path

Searched refs:ASSERT_FORTIFY (Results 1 – 1 of 1) sorted by relevance

/bionic/tests/
Dfortify_test.cpp40 #define ASSERT_FORTIFY(expr) ASSERT_EXIT(expr, testing::KilledBySignal(SIGABRT), "FORTIFY") macro
42 #define ASSERT_FORTIFY(expr) ASSERT_EXIT(expr, testing::KilledBySignal(SIGABRT), "") macro
67 ASSERT_FORTIFY(stpncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F()
78 ASSERT_FORTIFY(stpncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F()
88 ASSERT_FORTIFY(strncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F()
99 ASSERT_FORTIFY(strncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F()
110 ASSERT_FORTIFY(sprintf(myfoo.a, "%s", source_buf)); in TEST_F()
119 ASSERT_FORTIFY(sprintf(myfoo.a, "0123456789")); in TEST_F()
138 ASSERT_FORTIFY(vsprintf_helper2("%s", "0123456789")); in TEST_F()
142 ASSERT_FORTIFY(vsprintf_helper2("0123456789")); in TEST_F()
[all …]