Home
last modified time | relevance | path

Searched refs:__sanitizer_get_ownership (Results 1 – 11 of 11) sorted by relevance

/external/compiler-rt/lib/asan/tests/
Dasan_interface_test.cc35 EXPECT_EQ(true, __sanitizer_get_ownership(array)); in TEST()
37 EXPECT_EQ(true, __sanitizer_get_ownership(int_ptr)); in TEST()
43 EXPECT_FALSE(__sanitizer_get_ownership(wild_addr)); in TEST()
46 EXPECT_FALSE(__sanitizer_get_ownership(array + kArraySize / 2)); in TEST()
52 EXPECT_FALSE(__sanitizer_get_ownership(NULL)); in TEST()
58 EXPECT_FALSE(__sanitizer_get_ownership(array)); in TEST()
67 EXPECT_TRUE(__sanitizer_get_ownership(zero_alloc)); in TEST()
424 EXPECT_FALSE(__sanitizer_get_ownership(&pointers)); in TEST()
425 EXPECT_FALSE(__sanitizer_get_ownership((void*)0x1234)); in TEST()
427 EXPECT_TRUE(__sanitizer_get_ownership(pointers[idx])); in TEST()
/external/compiler-rt/test/sanitizer_common/TestCases/
Dmalloc_hook.cc16 if (__sanitizer_get_ownership(ptr)) { in __sanitizer_malloc_hook()
22 if (__sanitizer_get_ownership(ptr) && ptr == global_ptr) in __sanitizer_free_hook()
/external/compiler-rt/include/sanitizer/
Dallocator_interface.h28 int __sanitizer_get_ownership(const volatile void *p);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_interface.h24 SANITIZER_INTERFACE_ATTRIBUTE int __sanitizer_get_ownership(const void *p);
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mman_test.cc122 EXPECT_TRUE(__sanitizer_get_ownership(p)); in TEST()
/external/compiler-rt/lib/lsan/
Dlsan_allocator.cc244 int __sanitizer_get_ownership(const void *p) { return Metadata(p) != 0; } in __sanitizer_get_ownership() function
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cc212 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc225 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership() function
/external/compiler-rt/lib/asan/
Dasan_win_dll_thunk.cc313 INTERFACE_FUNCTION(__sanitizer_get_ownership)
Dasan_allocator.cc879 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc4221 EXPECT_TRUE(__sanitizer_get_ownership(array)); in TEST()
4224 EXPECT_TRUE(__sanitizer_get_ownership(int_ptr)); in TEST()
4228 EXPECT_FALSE(__sanitizer_get_ownership(wild_addr)); in TEST()
4231 EXPECT_FALSE(__sanitizer_get_ownership(array + 50)); in TEST()
4235 EXPECT_FALSE(__sanitizer_get_ownership(NULL)); in TEST()
4239 EXPECT_FALSE(__sanitizer_get_ownership(array)); in TEST()