/bionic/tests/ |
D | stack_protector_test.cpp | 44 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()
|
D | bug_26110743_test.cpp | 62 auto guard = android::base::make_scope_guard([&]() { in TEST() local 107 auto guard = android::base::make_scope_guard([&]() { in TEST() local
|
D | math_test.cpp | 1012 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 …]
|
D | sys_ptrace_test.cpp | 177 ChildGuard guard(child); in run_watchpoint_test() local 348 ChildGuard guard(child); in TEST() local
|
D | dlfcn_test.cpp | 382 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
|
D | unistd_test.cpp | 1123 auto guard = android::base::make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
|
D | pthread_test.cpp | 1769 auto guard = android::base::make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
|
/bionic/libc/malloc_debug/ |
D | README.md | 50 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 …]
|
D | malloc_debug.cpp | 278 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
|
D | README_marshmallow_and_earlier.md | 79 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/ |
D | bsg.h | 29 __s32 guard; member
|
/bionic/libc/bionic/ |
D | grp_pwd_file.cpp | 212 LockGuard guard(lock_); in GetFile() local
|
/bionic/linker/ |
D | linker.cpp | 1963 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
|
D | linker_main.cpp | 301 ProtectedDataGuard guard; in linker_main() local
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_config_tests.cpp | 195 TEST_F(MallocDebugConfigTest, guard) { in TEST_F() argument
|
/bionic/docs/ |
D | fdsan.md | 136 …ly closing it for us. Let's use `android::base::unique_fd` in `victim` to guard the file descripto…
|
D | elf-tls.md | 154 variable with a dynamic initializer has an associated TLS guard variable.) 753 * We would reserve at least 6 words to cover the stack guard
|