Home
last modified time | relevance | path

Searched refs:guard (Results 1 – 17 of 17) 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.cpp62 auto guard = android::base::make_scope_guard([&]() { in TEST() local
107 auto guard = android::base::make_scope_guard([&]() { in TEST() local
Dmath_test.cpp1012 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1034 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1062 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1089 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1097 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1201 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1213 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1225 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1237 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
1249 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local
[all …]
Dsys_ptrace_test.cpp177 ChildGuard guard(child); in run_watchpoint_test() local
348 ChildGuard guard(child); in TEST() local
Ddlfcn_test.cpp382 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local
1045 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local
1063 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local
Dunistd_test.cpp1123 auto guard = android::base::make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
Dpthread_test.cpp1769 auto guard = android::base::make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
/bionic/libc/malloc_debug/
DREADME.md50 On first allocation, this front guard is written with a specific pattern (0xaa).
51 When the allocation is freed, the guard is checked to verify it has not been
52 modified. If any part of the front guard is modified, an error will be reported
58 If SIZE\_BYTES is present, it indicates the number of bytes in the guard.
64 This option adds a special header to all allocations that contains the guard
76 On first allocation, this rear guard is written with a specific pattern (0xbb).
77 When the allocation is freed, the guard is checked to verify it has not been
78 modified. If any part of the rear guard is modified, an error will be reported
81 If SIZE\_BYTES is present, it indicates the number of bytes in the guard.
93 ### guard[=SIZE\_BYTES]
[all …]
Dmalloc_debug.cpp278 uint8_t* guard = g_debug->GetFrontGuard(header); in InitHeader() local
279 memset(guard, g_debug->config().front_guard_value(), g_debug->config().front_guard_bytes()); in InitHeader()
283 uint8_t* guard = g_debug->GetRearGuard(header); in InitHeader() local
284 memset(guard, g_debug->config().rear_guard_value(), g_debug->config().rear_guard_bytes()); in InitHeader()
988 std::lock_guard<std::mutex> guard(g_dump_lock); in debug_write_malloc_leak_info() local
1004 std::lock_guard<std::mutex> guard(g_dump_lock); in debug_dump_heap() local
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/libc/kernel/uapi/linux/
Dbsg.h29 __s32 guard; member
/bionic/libc/bionic/
Dgrp_pwd_file.cpp212 LockGuard guard(lock_); in GetFile() local
/bionic/linker/
Dlinker.cpp1963 ProtectedDataGuard guard; in increment_dso_handle_reference_counter() local
1986 ProtectedDataGuard guard; in decrement_dso_handle_reference_counter() local
2162 ProtectedDataGuard guard; in do_dlopen() local
2313 ProtectedDataGuard guard; in do_dlclose() local
2349 ProtectedDataGuard guard; in init_anonymous_namespace() local
2417 ProtectedDataGuard guard; in create_namespace() local
2496 ProtectedDataGuard guard; in link_namespaces() local
2514 ProtectedDataGuard guard; in link_namespaces_all_libs() local
Dlinker_main.cpp301 ProtectedDataGuard guard; in linker_main() local
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_config_tests.cpp195 TEST_F(MallocDebugConfigTest, guard) { in TEST_F() argument
/bionic/docs/
Dfdsan.md136 …ly closing it for us. Let's use `android::base::unique_fd` in `victim` to guard the file descripto…
Delf-tls.md154 variable with a dynamic initializer has an associated TLS guard variable.)
753 * We would reserve at least 6 words to cover the stack guard