Searched refs:guard (Results 1 - 9 of 9) sorted by relevance

/bionic/tests/
H A Dstack_protector_test.cpp44 void* guard = __get_tls()[TLS_SLOT_STACK_GUARD]; local
46 printf("[thread %d] TLS stack guard = %p\n", tid, guard);
51 // Uninitialized guard. Our bug. Note this is potentially flaky; we _could_
53 ASSERT_NE(guard, nullptr);
57 ASSERT_EQ(__stack_chk_guard, reinterpret_cast<uintptr_t>(guard));
61 guards.insert(guard);
88 // Both bionic and glibc use the same guard for every thread.
H A Dbug_26110743_test.cpp59 auto guard = make_scope_guard([&]() { local
103 auto guard = make_scope_guard([&]() { local
H A Dmath_test.cpp757 auto guard = make_scope_guard([]() { local
781 auto guard = make_scope_guard([]() { local
811 auto guard = make_scope_guard([]() { local
840 auto guard = make_scope_guard([]() { local
850 auto guard = make_scope_guard([]() { local
947 auto guard = make_scope_guard([]() { local
960 auto guard = make_scope_guard([]() { local
973 auto guard = make_scope_guard([]() { local
986 auto guard = make_scope_guard([]() { local
999 auto guard local
1012 auto guard = make_scope_guard([]() { local
[all...]
H A Ddlfcn_test.cpp274 auto guard = make_scope_guard([&]() { local
887 auto guard = make_scope_guard([&]() { local
910 auto guard = make_scope_guard([&]() { local
H A Dpthread_test.cpp585 // Get the default guard size.
1243 // Check that we correctly report that the main thread has no guard page.
1246 ASSERT_EQ(0U, guard_size); // The main thread has no guard page.
1284 auto guard = make_scope_guard([&rl, original_rlim_cur]() { local
/bionic/libc/kernel/uapi/linux/
H A Dbsg.h31 __s32 guard; member in struct:sg_io_v4
/bionic/libc/malloc_debug/
H A Dmalloc_debug.cpp152 uint8_t* guard = g_debug->GetFrontGuard(header); local
153 memset(guard, g_debug->config().front_guard_value, g_debug->config().front_guard_bytes);
157 uint8_t* guard = g_debug->GetRearGuard(header); local
158 memset(guard, g_debug->config().rear_guard_value, g_debug->config().rear_guard_bytes);
159 // If the rear guard is enabled, set the usable size to the exact size
500 // change the header usable_size and reset the rear guard.
/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_config_tests.cpp52 "6 malloc_debug Enables a front guard on all allocations. If XX is set\n"
53 "6 malloc_debug it sets the number of bytes in the guard. The default is\n"
57 "6 malloc_debug Enables a rear guard on all allocations. If XX is set\n"
58 "6 malloc_debug it sets the number of bytes in the guard. The default is\n"
61 "6 malloc_debug guard[=XX]\n"
62 "6 malloc_debug Enables both a front guard and a rear guard on all allocations.\n"
267 TEST_F(MallocDebugConfigTest, guard) {
268 ASSERT_TRUE(InitConfig("guard=32"));
273 ASSERT_TRUE(InitConfig("guard"));
[all...]
/bionic/linker/
H A Dlinker.cpp2373 ProtectedDataGuard guard;
2475 ProtectedDataGuard guard;
2495 ProtectedDataGuard guard;
2556 ProtectedDataGuard guard;
4300 ProtectedDataGuard guard;

Completed in 216 milliseconds