/external/compiler-rt/lib/asan/tests/ |
D | asan_oob_test.cc | 79 for (size_t access_size = 1; access_size <= max_access_size; in TEST() local 80 access_size *= 2) { in TEST() 82 for (size_t offset = 0; offset <= 8; offset += access_size) { in TEST() 87 if (offset + access_size <= alloc_size) { in TEST() 88 asan_write_sized_aligned(addr, access_size); in TEST() 95 EXPECT_DEATH(asan_write_sized_aligned(addr, access_size), in TEST()
|
/external/compiler-rt/lib/asan/ |
D | asan_report.h | 38 void DescribeHeapAddress(uptr addr, uptr access_size); 39 bool DescribeAddressIfGlobal(uptr addr, uptr access_size); 40 bool DescribeAddressRelativeToGlobal(uptr addr, uptr access_size, 48 bool DescribeAddressIfStack(uptr addr, uptr access_size); 50 void DescribeAddress(uptr addr, uptr access_size);
|
D | asan_allocator.h | 63 bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) { in AddrIsInside() argument 64 if (addr >= Beg() && (addr + access_size) <= End()) { in AddrIsInside() 70 bool AddrIsAtLeft(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtLeft() argument 71 (void)access_size; in AddrIsAtLeft() 78 bool AddrIsAtRight(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtRight() argument 79 if (addr + access_size > End()) { in AddrIsAtRight()
|
D | asan_report.cc | 40 uptr access_size; member 353 uptr access_size, uptr prev_var_end, in PrintAccessAndVarIntersection() argument 356 uptr addr_end = addr + access_size; in PrintAccessAndVarIntersection() 422 bool DescribeAddressIfStack(uptr addr, uptr access_size) { in DescribeAddressIfStack() argument 473 PrintAccessAndVarIntersection(vars[i], access.offset, access_size, in DescribeAddressIfStack() 488 uptr access_size) { in DescribeAccessToHeapChunk() argument 493 if (chunk.AddrIsAtLeft(addr, access_size, &offset)) { in DescribeAccessToHeapChunk() 495 } else if (chunk.AddrIsAtRight(addr, access_size, &offset)) { in DescribeAccessToHeapChunk() 501 } else if (chunk.AddrIsInside(addr, access_size, &offset)) { in DescribeAccessToHeapChunk() 513 void DescribeHeapAddress(uptr addr, uptr access_size) { in DescribeHeapAddress() argument [all …]
|
D | asan_interface_internal.h | 131 uptr addr, int is_write, uptr access_size, u32 exp);
|
/external/compiler-rt/test/asan/TestCases/ |
D | debug_report.cc | 26 size_t access_size = __asan_get_report_access_size(); in __asan_on_error() local 41 fprintf(stderr, "access_size: %ld\n", access_size); in __asan_on_error()
|
/external/v8/src/arm64/ |
D | simulator-arm64.cc | 1614 size_t access_size = 1 << instr->SizeLS(); in LoadStoreHelper() local 1617 LogReadFP(address, access_size, srcdst); in LoadStoreHelper() 1619 LogRead(address, access_size, srcdst); in LoadStoreHelper() 1623 LogWriteFP(address, access_size, srcdst); in LoadStoreHelper() 1625 LogWrite(address, access_size, srcdst); in LoadStoreHelper() 1672 size_t access_size = 1 << instr->SizeLSPair(); in LoadStorePairHelper() local 1673 int64_t offset = instr->ImmLSPair() * access_size; in LoadStorePairHelper() 1675 uintptr_t address2 = address + access_size; in LoadStorePairHelper() 1703 DCHECK(access_size == kWRegSize); in LoadStorePairHelper() 1709 DCHECK(access_size == kSRegSize); in LoadStorePairHelper() [all …]
|
/external/compiler-rt/include/sanitizer/ |
D | asan_interface.h | 111 void *addr, int is_write, size_t access_size);
|
/external/vixl/src/vixl/a64/ |
D | simulator-a64.cc | 1147 size_t access_size = 1 << instr->SizeLS(); in LoadStoreHelper() local 1150 LogVRead(address, srcdst, GetPrintRegisterFormatForSizeFP(access_size)); in LoadStoreHelper() 1152 LogVRead(address, srcdst, GetPrintRegisterFormatForSize(access_size)); in LoadStoreHelper() 1154 LogRead(address, srcdst, GetPrintRegisterFormatForSize(access_size)); in LoadStoreHelper() 1158 LogVWrite(address, srcdst, GetPrintRegisterFormatForSizeFP(access_size)); in LoadStoreHelper() 1160 LogVWrite(address, srcdst, GetPrintRegisterFormatForSize(access_size)); in LoadStoreHelper() 1162 LogWrite(address, srcdst, GetPrintRegisterFormatForSize(access_size)); in LoadStoreHelper() 1325 size_t access_size = is_pair ? element_size * 2 : element_size; in VisitLoadStoreExclusive() local 1332 if (AlignDown(address, access_size) != address) { in VisitLoadStoreExclusive() 1343 local_monitor_.MarkExclusive(address, access_size); in VisitLoadStoreExclusive() [all …]
|
D | assembler-a64.cc | 4872 unsigned access_size, in LoadStoreMemOperand() argument 4886 IsImmLSScaled(offset, access_size)) { in LoadStoreMemOperand() 4889 ImmLSUnsigned(offset >> access_size); in LoadStoreMemOperand() 4915 VIXL_ASSERT((shift_amount == 0) || (shift_amount == access_size)); in LoadStoreMemOperand() 5012 bool Assembler::IsImmLSPair(int64_t offset, unsigned access_size) { in IsImmLSPair() argument 5013 VIXL_ASSERT(access_size <= kQRegSizeInBytesLog2); in IsImmLSPair() 5015 (((offset >> access_size) << access_size) == offset); in IsImmLSPair() 5016 return offset_is_size_multiple && is_int7(offset >> access_size); in IsImmLSPair() 5020 bool Assembler::IsImmLSScaled(int64_t offset, unsigned access_size) { in IsImmLSScaled() argument 5021 VIXL_ASSERT(access_size <= kQRegSizeInBytesLog2); in IsImmLSScaled() [all …]
|
D | assembler-a64.h | 3888 static Instr ImmLSPair(int imm7, unsigned access_size) { in ImmLSPair() argument 3889 VIXL_ASSERT(((imm7 >> access_size) << access_size) == imm7); in ImmLSPair() 3890 int scaled_imm7 = imm7 >> access_size; in ImmLSPair() 3990 static bool IsImmLSPair(int64_t offset, unsigned access_size); 3991 static bool IsImmLSScaled(int64_t offset, unsigned access_size); 4420 unsigned access_size,
|
D | macro-assembler-a64.cc | 1506 unsigned access_size = CalcLSDataSize(op); in LS_MACRO_LIST() local 1511 if (addr.IsImmediateOffset() && !IsImmLSScaled(offset, access_size) && in LS_MACRO_LIST() 1557 unsigned access_size = CalcLSPairDataSize(op); in LSPAIR_MACRO_LIST() local 1561 if (IsImmLSPair(offset, access_size)) { in LSPAIR_MACRO_LIST()
|