Home
last modified time | relevance | path

Searched refs:__sanitizer_get_ownership (Results 1 – 12 of 12) 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()
414 EXPECT_FALSE(__sanitizer_get_ownership(&pointers)); in TEST()
415 EXPECT_FALSE(__sanitizer_get_ownership((void*)0x1234)); in TEST()
417 EXPECT_TRUE(__sanitizer_get_ownership(pointers[idx])); in TEST()
/external/compiler-rt/test/sanitizer_common/TestCases/
Dmalloc_hook.cc18 if (__sanitizer_get_ownership(ptr) && sz == 4) { in __sanitizer_malloc_hook()
24 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.cc246 int __sanitizer_get_ownership(const void *p) { return Metadata(p) != nullptr; } in __sanitizer_get_ownership() function
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc242 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership() function
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cc289 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
/external/compiler-rt/lib/asan/
Dasan_win_dll_thunk.cc323 INTERFACE_FUNCTION(__sanitizer_get_ownership)
Dasan_allocator.cc894 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp629 int __sanitizer_get_ownership(const void *p) { in __sanitizer_get_ownership() function
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc4331 EXPECT_TRUE(__sanitizer_get_ownership(array)); in TEST()
4334 EXPECT_TRUE(__sanitizer_get_ownership(int_ptr)); in TEST()
4338 EXPECT_FALSE(__sanitizer_get_ownership(wild_addr)); in TEST()
4341 EXPECT_FALSE(__sanitizer_get_ownership(array + 50)); in TEST()
4345 EXPECT_FALSE(__sanitizer_get_ownership(NULL)); in TEST()
4349 EXPECT_FALSE(__sanitizer_get_ownership(array)); in TEST()