Home
last modified time | relevance | path

Searched refs:access_size (Results 1 – 7 of 7) sorted by relevance

/external/compiler-rt/lib/asan/tests/
Dasan_oob_test.cc78 for (size_t access_size = 1; access_size <= 8; access_size *= 2) { in TEST() local
80 for (size_t offset = 0; offset <= 8; offset += access_size) { in TEST()
85 if (offset + access_size <= alloc_size) { in TEST()
86 asan_write_sized_aligned(addr, access_size); in TEST()
93 EXPECT_DEATH(asan_write_sized_aligned(addr, access_size), in TEST()
/external/compiler-rt/lib/asan/
Dasan_report.h23 void DescribeHeapAddress(uptr addr, uptr access_size);
24 bool DescribeAddressIfGlobal(uptr addr, uptr access_size);
25 bool DescribeAddressRelativeToGlobal(uptr addr, uptr access_size,
28 bool DescribeAddressIfStack(uptr addr, uptr access_size);
30 void DescribeAddress(uptr addr, uptr access_size);
Dasan_allocator.h46 bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) { in AddrIsInside() argument
47 if (addr >= Beg() && (addr + access_size) <= End()) { in AddrIsInside()
53 bool AddrIsAtLeft(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtLeft() argument
54 (void)access_size; in AddrIsAtLeft()
61 bool AddrIsAtRight(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtRight() argument
62 if (addr + access_size > End()) { in AddrIsAtRight()
Dasan_report.cc267 bool DescribeAddressIfStack(uptr addr, uptr access_size) { in DescribeAddressIfStack() argument
338 uptr access_size) { in DescribeAccessToHeapChunk() argument
342 if (chunk.AddrIsAtLeft(addr, access_size, &offset)) { in DescribeAccessToHeapChunk()
344 } else if (chunk.AddrIsAtRight(addr, access_size, &offset)) { in DescribeAccessToHeapChunk()
350 } else if (chunk.AddrIsInside(addr, access_size, &offset)) { in DescribeAccessToHeapChunk()
361 void DescribeHeapAddress(uptr addr, uptr access_size) { in DescribeHeapAddress() argument
364 DescribeAccessToHeapChunk(chunk, addr, access_size); in DescribeHeapAddress()
404 void DescribeAddress(uptr addr, uptr access_size) { in DescribeAddress() argument
409 if (DescribeAddressIfGlobal(addr, access_size)) in DescribeAddress()
411 if (DescribeAddressIfStack(addr, access_size)) in DescribeAddress()
[all …]
Dasan_interface_internal.h98 uptr addr, bool is_write, uptr access_size)
/external/compiler-rt/include/sanitizer/
Dasan_interface.h68 void *addr, bool is_write, size_t access_size);
/external/compiler-rt/lib/msandr/
Dmsandr.cc249 uint access_size = opnd_size_in_bytes(op_size); in InstrumentMops() local
250 if (access_size <= 4) { in InstrumentMops()
256 for (uint ofs = 0; ofs < access_size; ofs += 4) { in InstrumentMops()