Searched refs:untag_address (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/platform/bionic/ |
D | macros.h | 86 static inline uintptr_t untag_address(uintptr_t p) { in untag_address() function 95 static inline T* untag_address(T* p) { in untag_address() function 96 return reinterpret_cast<T*>(untag_address(reinterpret_cast<uintptr_t>(p))); in untag_address()
|
/bionic/tests/ |
D | heap_tagging_level_test.cpp | 61 x = untag_address(x); in TEST() 65 EXPECT_DEATH(free(untag_address(malloc(1))), "Pointer tag for 0x[a-zA-Z0-9]* was truncated"); in TEST() 74 free(untag_address(y)); in TEST() 124 EXPECT_EQ(untag_address(p.get()), p.get()); in TEST()
|
D | utils.h | 36 #define untag_address(p) p macro
|
D | buffer_tests.cpp | 235 return mprotect(untag_address(addr), len, prot); in MprotectHeap()
|
D | sys_ptrace_test.cpp | 189 set_watchpoint(child, uintptr_t(untag_address(&data)) + offset, size); in run_watchpoint_test()
|
D | pthread_test.cpp | 1746 uintptr_t stack_address = reinterpret_cast<uintptr_t>(untag_address(&maps_stack_hi)); in TEST() 1825 ASSERT_LT(static_cast<void*>(untag_address(&attr)), in getstack_signal_handler() 1886 ASSERT_LT(untag_address(&local_variable), reinterpret_cast<char*>(stack_base) + stack_size); in pthread_attr_getstack_18908062_helper()
|
D | unistd_test.cpp | 591 return clone(start_routine, untag_address(&child_stack[1024]), SIGCHLD, nullptr); in CloneStartRoutine()
|
D | dlext_test.cpp | 385 void* addr = reinterpret_cast<void*>(untag_address(taxicab_number)); in TEST_F()
|
/bionic/libc/private/ |
D | WriteProtected.h | 81 addr = untag_address(addr); in set_protection()
|
/bionic/libdl/ |
D | libdl_cfi.cpp | 48 uintptr_t addr = reinterpret_cast<uintptr_t>(untag_address(p)); in shadow_load()
|