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
64 ASSERT_FORTIFY(stpncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F()
71 ASSERT_FORTIFY(stpncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F()
77 ASSERT_FORTIFY(strncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F()
84 ASSERT_FORTIFY(strncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F()
91 ASSERT_FORTIFY(sprintf(myfoo.a, "%s", source_buf)); in TEST_F()
96 ASSERT_FORTIFY(sprintf(myfoo.a, "0123456789")); in TEST_F()
111 ASSERT_FORTIFY(vsprintf_helper2("%s", "0123456789")); in TEST_F()
115 ASSERT_FORTIFY(vsprintf_helper2("0123456789")); in TEST_F()
[all …]