/bionic/tests/ |
D | stack_protector_test.cpp | 46 void* guard = __get_tls()[TLS_SLOT_STACK_GUARD]; in Check() local 48 printf("[thread %d] TLS stack guard = %p\n", tid, guard); in Check() 55 ASSERT_NE(guard, nullptr); in Check() 59 ASSERT_EQ(__stack_chk_guard, reinterpret_cast<uintptr_t>(guard)); in Check() 63 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 | 1047 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local 1069 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 1124 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local 1132 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local 1236 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local 1248 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local 1260 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local 1272 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local 1284 auto guard = android::base::make_scope_guard([]() { fesetenv(FE_DFL_ENV); }); in TEST() local [all …]
|
D | sys_ptrace_test.cpp | 179 ChildGuard guard(child); in run_watchpoint_test() local 353 ChildGuard guard(child); in TEST() local
|
D | dlfcn_test.cpp | 371 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local 1039 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local 1057 auto guard = android::base::make_scope_guard([&]() { dlclose(handle); }); in TEST() local
|
D | unistd_test.cpp | 1170 auto guard = android::base::make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
|
D | pthread_test.cpp | 1848 auto guard = android::base::make_scope_guard([&rl, original_rlim_cur]() { in TEST() local
|
/bionic/libc/kernel/uapi/linux/ |
D | bsg.h | 17 __s32 guard; member
|
/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 | 375 uint8_t* guard = g_debug->GetFrontGuard(header); in InitHeader() local 376 memset(guard, g_debug->config().front_guard_value(), g_debug->config().front_guard_bytes()); in InitHeader() 380 uint8_t* guard = g_debug->GetRearGuard(header); in InitHeader() local 381 memset(guard, g_debug->config().rear_guard_value(), g_debug->config().rear_guard_bytes()); in InitHeader() 1146 std::lock_guard<std::mutex> guard(g_dump_lock); in debug_write_malloc_leak_info() local 1162 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/bionic/ |
D | grp_pwd_file.cpp | 212 LockGuard guard(lock_); in GetFile() local
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 158 std::lock_guard<std::mutex> guard(data_lock_); in LogReader() local 189 std::lock_guard<std::mutex> guard(data_lock_); in GetLog() local
|
D | malloc_debug_config_tests.cpp | 196 TEST_F(MallocDebugConfigTest, guard) { in TEST_F() argument
|
/bionic/linker/ |
D | linker.cpp | 2010 ProtectedDataGuard guard; in increment_dso_handle_reference_counter() local 2033 ProtectedDataGuard guard; in decrement_dso_handle_reference_counter() local 2229 ProtectedDataGuard guard; in do_dlopen() local 2380 ProtectedDataGuard guard; in do_dlclose() local 2416 ProtectedDataGuard guard; in init_anonymous_namespace() local 2484 ProtectedDataGuard guard; in create_namespace() local 2564 ProtectedDataGuard guard; in link_namespaces() local 2582 ProtectedDataGuard guard; in link_namespaces_all_libs() local
|
D | linker_main.cpp | 307 ProtectedDataGuard guard; in linker_main() local
|
/bionic/docs/ |
D | fdsan.md | 140 …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
|
D | clang_fortify_anatomy.md | 24 Broadly, FORTIFY implementations try to guard against many misuses of C
|