Home
last modified time | relevance | path

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

/bionic/tests/
Dstack_protector_test.cpp44 void* guard = __get_tls()[TLS_SLOT_STACK_GUARD]; in Check() local
46 printf("[thread %d] TLS stack guard = %p\n", tid, guard); in Check()
53 ASSERT_NE(guard, nullptr); in Check()
57 ASSERT_EQ(__stack_chk_guard, reinterpret_cast<uintptr_t>(guard)); in Check()
61 guards.insert(guard); in Check()
Dbug_26110743_test.cpp59 auto guard = make_scope_guard([&]() { in TEST() local
103 auto guard = make_scope_guard([&]() { in TEST() local
Dmath_test.cpp778 auto guard = make_scope_guard([]() { in TEST() local
802 auto guard = make_scope_guard([]() { in TEST() local
832 auto guard = make_scope_guard([]() { in TEST() local
861 auto guard = make_scope_guard([]() { in TEST() local
871 auto guard = make_scope_guard([]() { in TEST() local
968 auto guard = make_scope_guard([]() { in TEST() local
981 auto guard = make_scope_guard([]() { in TEST() local
994 auto guard = make_scope_guard([]() { in TEST() local
1007 auto guard = make_scope_guard([]() { in TEST() local
1020 auto guard = make_scope_guard([]() { in TEST() local
[all …]
Dsys_ptrace_test.cpp164 ChildGuard guard(child); in run_watchpoint_test() local
344 ChildGuard guard(child); in TEST() local
Ddlfcn_test.cpp333 auto guard = make_scope_guard([&]() { local
989 auto guard = make_scope_guard([&]() { local
1012 auto guard = make_scope_guard([&]() { local
Dunistd_test.cpp999 auto guard = make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
Dpthread_test.cpp1365 auto guard = make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
/bionic/libc/kernel/uapi/linux/
Dbsg.h31 __s32 guard; member
/bionic/libc/malloc_debug/
DREADME.md46 On first allocation, this front guard is written with a specific pattern (0xaa).
47 When the allocation is freed, the guard is checked to verify it has not been
48 modified. If any part of the front guard is modified, an error will be reported
54 If SIZE\_BYTES is present, it indicates the number of bytes in the guard.
60 This option adds a special header to all allocations that contains the guard
72 On first allocation, this rear guard is written with a specific pattern (0xbb).
73 When the allocation is freed, the guard is checked to verify it has not been
74 modified. If any part of the rear guard is modified, an error will be reported
77 If SIZE\_BYTES is present, it indicates the number of bytes in the guard.
89 ### guard[=SIZE\_BYTES]
[all …]
Dmalloc_debug.cpp152 uint8_t* guard = g_debug->GetFrontGuard(header); in InitHeader() local
153 memset(guard, g_debug->config().front_guard_value, g_debug->config().front_guard_bytes); in InitHeader()
157 uint8_t* guard = g_debug->GetRearGuard(header); in InitHeader() local
158 memset(guard, g_debug->config().rear_guard_value, g_debug->config().rear_guard_bytes); in InitHeader()
DREADME_marshmallow_and_earlier.md79 a front guard). This buffer is filled with the pattern (0xaa). In addition,
81 as a rear guard). This buffer is filled with the pattern (0xbb).
/bionic/linker/
Dlinker_main.cpp212 ProtectedDataGuard guard; local
Dlinker.cpp1969 ProtectedDataGuard guard; in do_dlopen() local
2107 ProtectedDataGuard guard; in do_dlclose() local
2124 ProtectedDataGuard guard; in init_anonymous_namespace() local
2176 ProtectedDataGuard guard; in create_namespace() local
2243 ProtectedDataGuard guard; in link_namespaces() local
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_config_tests.cpp277 TEST_F(MallocDebugConfigTest, guard) { in TEST_F() argument