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.h38 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);
Dasan_allocator.h63 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()
Dasan_report.cc40 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 …]
Dasan_interface_internal.h131 uptr addr, int is_write, uptr access_size, u32 exp);
/external/compiler-rt/test/asan/TestCases/
Ddebug_report.cc26 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/
Dsimulator-arm64.cc1614 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/
Dasan_interface.h111 void *addr, int is_write, size_t access_size);
/external/vixl/src/vixl/a64/
Dsimulator-a64.cc1147 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 …]
Dassembler-a64.cc4872 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 …]
Dassembler-a64.h3888 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,
Dmacro-assembler-a64.cc1506 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()