Searched refs:guard (Results 1 - 13 of 13) 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.cpp778 auto guard = make_scope_guard([]() { local
802 auto guard = make_scope_guard([]() { local
832 auto guard = make_scope_guard([]() { local
861 auto guard = make_scope_guard([]() { local
871 auto guard = make_scope_guard([]() { local
968 auto guard = make_scope_guard([]() { local
981 auto guard = make_scope_guard([]() { local
994 auto guard = make_scope_guard([]() { local
1007 auto guard = make_scope_guard([]() { local
1020 auto guard local
1033 auto guard = make_scope_guard([]() { local
[all...]
H A Dsys_ptrace_test.cpp164 ChildGuard guard(child);
344 ChildGuard guard(child);
H A Ddlfcn_test.cpp333 auto guard = make_scope_guard([&]() { local
989 auto guard = make_scope_guard([&]() { local
1012 auto guard = make_scope_guard([&]() { local
H A Dunistd_test.cpp999 auto guard = make_scope_guard([&rl, original_rlim_cur]() { local
H A Dpthread_test.cpp666 // Get the default guard size.
1324 // Check that we correctly report that the main thread has no guard page.
1327 ASSERT_EQ(0U, guard_size); // The main thread has no guard page.
1365 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/versioner-dependencies/common/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
545 // change the header usable_size and reset the rear guard.
/bionic/linker/
H A Dlinker_main.cpp212 ProtectedDataGuard guard; local
H A Dlinker.cpp1969 ProtectedDataGuard guard;
2107 ProtectedDataGuard guard;
2124 ProtectedDataGuard guard;
2176 ProtectedDataGuard guard;
2243 ProtectedDataGuard guard;
/bionic/libc/malloc_debug/tests/
H A Dmalloc_debug_config_tests.cpp49 "6 malloc_debug Enables a front guard on all allocations. If XX is set\n"
50 "6 malloc_debug it sets the number of bytes in the guard. The default is\n"
54 "6 malloc_debug Enables a rear guard on all allocations. If XX is set\n"
55 "6 malloc_debug it sets the number of bytes in the guard. The default is\n"
58 "6 malloc_debug guard[=XX]\n"
59 "6 malloc_debug Enables both a front guard and a rear guard on all allocations.\n"
277 TEST_F(MallocDebugConfigTest, guard) {
278 ASSERT_TRUE(InitConfig("guard=32")) << getFakeLogPrint();
283 ASSERT_TRUE(InitConfig("guard")) << getFakeLogPrin
[all...]

Completed in 191 milliseconds