Searched refs:access_size (Results 1 – 5 of 5) sorted by relevance
/external/compiler-rt/lib/asan/ |
D | asan_rtl.cc | 166 static bool DescribeStackAddress(uintptr_t addr, uintptr_t access_size) { in DescribeStackAddress() argument 217 static NOINLINE void DescribeAddress(uintptr_t addr, uintptr_t access_size) { in DescribeAddress() argument 222 if (DescribeStackAddress(addr, access_size)) in DescribeAddress() 226 DescribeHeapAddress(addr, access_size); in DescribeAddress() 332 uintptr_t addr, bool is_write, size_t access_size) { in __asan_report_error() argument 342 if (*shadow_addr == 0 && access_size > SHADOW_GRANULARITY) in __asan_report_error() 389 access_size ? (is_write ? "WRITE" : "READ") : "ACCESS", in __asan_report_error() 390 access_size, addr, curr_tid); in __asan_report_error() 401 DescribeAddress(addr, access_size); in __asan_report_error()
|
D | asan_allocator.cc | 191 bool AddrIsInside(uintptr_t addr, size_t access_size, size_t *offset) { in AddrIsInside() 192 if (addr >= beg() && (addr + access_size) <= (beg() + used_size)) { in AddrIsInside() 199 bool AddrIsAtLeft(uintptr_t addr, size_t access_size, size_t *offset) { in AddrIsAtLeft() 207 bool AddrIsAtRight(uintptr_t addr, size_t access_size, size_t *offset) { in AddrIsAtRight() 208 if (addr + access_size >= beg() + used_size) { in AddrIsAtRight() 218 void DescribeAddress(uintptr_t addr, size_t access_size) { in DescribeAddress() 221 if (AddrIsInside(addr, access_size, &offset)) { in DescribeAddress() 223 } else if (AddrIsAtLeft(addr, access_size, &offset)) { in DescribeAddress() 225 } else if (AddrIsAtRight(addr, access_size, &offset)) { in DescribeAddress() 360 AsanChunk *FindMallocedOrFreed(uintptr_t addr, size_t access_size) { in FindMallocedOrFreed() argument [all …]
|
D | asan_interface.h | 114 uintptr_t addr, bool is_write, size_t access_size)
|
D | asan_allocator.h | 156 void DescribeHeapAddress(uintptr_t addr, size_t access_size);
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_test.cc | 289 for (size_t access_size = 1; access_size <= 8; access_size *= 2) { in TEST() local 291 for (size_t offset = 0; offset <= 8; offset += access_size) { in TEST() 296 if (offset + access_size <= alloc_size) { in TEST() 297 asan_write_sized_aligned(addr, access_size); in TEST() 304 EXPECT_DEATH(asan_write_sized_aligned(addr, access_size), in TEST()
|