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 = android::base::make_scope_guard([&]() { in TEST() local
103 auto guard = android::base::make_scope_guard([&]() { in TEST() local
Dmath_test.cpp778 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
800 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
828 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
855 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
863 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
958 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
969 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
980 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
991 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1002 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
[all …]
Dsys_ptrace_test.cpp184 ChildGuard guard(child); in run_watchpoint_test() local
364 ChildGuard guard(child); in TEST() local
Ddlfcn_test.cpp357 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local
1011 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local
1032 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local
Dunistd_test.cpp999 auto guard = android::base::make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
Dpthread_test.cpp1366 auto guard = android::base::make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
/bionic/libc/kernel/uapi/linux/
Dbsg.h29 __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.cpp2012 ProtectedDataGuard guard; in do_dlopen() local
2149 ProtectedDataGuard guard; in do_dlclose() local
2166 ProtectedDataGuard guard; in init_anonymous_namespace() local
2218 ProtectedDataGuard guard; in create_namespace() local
2285 ProtectedDataGuard guard; in link_namespaces() local
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_config_tests.cpp274 TEST_F(MallocDebugConfigTest, guard) { in TEST_F() argument