Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/tests/
Dasan_oob_test.cc79 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/
Dasan_report.cc44 uptr access_size; member
380 uptr access_size, uptr prev_var_end, in PrintAccessAndVarIntersection() argument
383 uptr addr_end = addr + access_size; in PrintAccessAndVarIntersection()
449 bool DescribeAddressIfStack(uptr addr, uptr access_size) { in DescribeAddressIfStack() argument
500 PrintAccessAndVarIntersection(vars[i], access.offset, access_size, in DescribeAddressIfStack()
515 uptr access_size) { in DescribeAccessToHeapChunk() argument
520 if (chunk.AddrIsAtLeft(addr, access_size, &offset)) { in DescribeAccessToHeapChunk()
522 } else if (chunk.AddrIsAtRight(addr, access_size, &offset)) { in DescribeAccessToHeapChunk()
528 } else if (chunk.AddrIsInside(addr, access_size, &offset)) { in DescribeAccessToHeapChunk()
540 void DescribeHeapAddress(uptr addr, uptr access_size) { in DescribeHeapAddress() argument
[all …]
Dasan_allocator.h65 bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) { in AddrIsInside() argument
66 if (addr >= Beg() && (addr + access_size) <= End()) { in AddrIsInside()
72 bool AddrIsAtLeft(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtLeft() argument
73 (void)access_size; in AddrIsAtLeft()
80 bool AddrIsAtRight(uptr addr, uptr access_size, sptr *offset) { in AddrIsAtRight() argument
81 if (addr + access_size > End()) { in AddrIsAtRight()
Dasan_report.h43 void DescribeHeapAddress(uptr addr, uptr access_size);
48 bool DescribeAddressIfStack(uptr addr, uptr access_size);
53 uptr access_size, u32 exp, bool fatal);
Dasan_interface_internal.h144 uptr addr, int is_write, uptr access_size, u32 exp);
/external/compiler-rt/test/asan/TestCases/
Ddebug_report.cc41 size_t access_size = __asan_get_report_access_size(); in __asan_on_error() local
56 fprintf(stderr, "access_size: %ld\n", access_size); in __asan_on_error()
/external/v8/src/arm64/
Dsimulator-arm64.cc1674 size_t access_size = 1 << instr->SizeLS(); in LoadStoreHelper() local
1677 LogReadFP(address, access_size, srcdst); in LoadStoreHelper()
1679 LogRead(address, access_size, srcdst); in LoadStoreHelper()
1683 LogWriteFP(address, access_size, srcdst); in LoadStoreHelper()
1685 LogWrite(address, access_size, srcdst); in LoadStoreHelper()
1727 size_t access_size = 1 << instr->SizeLSPair(); in LoadStorePairHelper() local
1728 int64_t offset = instr->ImmLSPair() * access_size; in LoadStorePairHelper()
1730 uintptr_t address2 = address + access_size; in LoadStorePairHelper()
1758 DCHECK(access_size == kWRegSize); in LoadStorePairHelper()
1764 DCHECK(access_size == kSRegSize); in LoadStorePairHelper()
[all …]
/external/compiler-rt/include/sanitizer/
Dasan_interface.h111 void *addr, int is_write, size_t access_size);
/external/vixl/src/aarch64/
Dsimulator-aarch64.cc1383 unsigned access_size = 1 << instr->GetSizeLS(); in LoadStoreHelper() local
1386 LogVRead(address, srcdst, GetPrintRegisterFormatForSizeFP(access_size)); in LoadStoreHelper()
1388 LogVRead(address, srcdst, GetPrintRegisterFormatForSize(access_size)); in LoadStoreHelper()
1390 LogRead(address, srcdst, GetPrintRegisterFormatForSize(access_size)); in LoadStoreHelper()
1394 LogVWrite(address, srcdst, GetPrintRegisterFormatForSizeFP(access_size)); in LoadStoreHelper()
1396 LogVWrite(address, srcdst, GetPrintRegisterFormatForSize(access_size)); in LoadStoreHelper()
1398 LogWrite(address, srcdst, GetPrintRegisterFormatForSize(access_size)); in LoadStoreHelper()
1566 unsigned access_size = is_pair ? element_size * 2 : element_size; in VisitLoadStoreExclusive() local
1573 if (AlignDown(address, access_size) != address) { in VisitLoadStoreExclusive()
1584 local_monitor_.MarkExclusive(address, access_size); in VisitLoadStoreExclusive()
[all …]
Dassembler-aarch64.cc4246 unsigned access_size, in LoadStoreMemOperand() argument
4261 IsImmLSScaled(offset, access_size)) { in LoadStoreMemOperand()
4264 ImmLSUnsigned(static_cast<int>(offset) >> access_size); in LoadStoreMemOperand()
4291 VIXL_ASSERT((shift_amount == 0) || (shift_amount == access_size)); in LoadStoreMemOperand()
4388 bool Assembler::IsImmLSPair(int64_t offset, unsigned access_size) { in IsImmLSPair() argument
4389 VIXL_ASSERT(access_size <= kQRegSizeInBytesLog2); in IsImmLSPair()
4390 return IsMultiple(offset, 1 << access_size) && in IsImmLSPair()
4391 IsInt7(offset / (1 << access_size)); in IsImmLSPair()
4395 bool Assembler::IsImmLSScaled(int64_t offset, unsigned access_size) { in IsImmLSScaled() argument
4396 VIXL_ASSERT(access_size <= kQRegSizeInBytesLog2); in IsImmLSScaled()
[all …]
Dassembler-aarch64.h2784 static Instr ImmLSPair(int64_t imm7, unsigned access_size) { in ImmLSPair() argument
2785 VIXL_ASSERT(IsMultiple(imm7, 1 << access_size)); in ImmLSPair()
2786 int64_t scaled_imm7 = imm7 / (1 << access_size); in ImmLSPair()
2884 static bool IsImmLSPair(int64_t offset, unsigned access_size);
2885 static bool IsImmLSScaled(int64_t offset, unsigned access_size);
3319 unsigned access_size,
Dmacro-assembler-aarch64.cc1781 unsigned access_size = CalcLSDataSize(op); in LS_MACRO_LIST() local
1786 if (addr.IsImmediateOffset() && !IsImmLSScaled(offset, access_size) && in LS_MACRO_LIST()
1832 unsigned access_size = CalcLSPairDataSize(op); in LSPAIR_MACRO_LIST() local
1836 if (IsImmLSPair(offset, access_size)) { in LSPAIR_MACRO_LIST()