reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/asan/asan_descriptions.cpp
  107   descr->bad_addr = addr;
  108   if (chunk.AddrIsAtLeft(addr, access_size, &descr->offset)) {
  109     descr->access_type = kAccessTypeLeft;
  110   } else if (chunk.AddrIsAtRight(addr, access_size, &descr->offset)) {
  111     descr->access_type = kAccessTypeRight;
  112     if (descr->offset < 0) {
  113       descr->bad_addr -= descr->offset;
  113       descr->bad_addr -= descr->offset;
  114       descr->offset = 0;
  116   } else if (chunk.AddrIsInside(addr, access_size, &descr->offset)) {
  117     descr->access_type = kAccessTypeInside;
  119     descr->access_type = kAccessTypeUnknown;
  121   descr->chunk_begin = chunk.Beg();
  122   descr->chunk_size = chunk.UsedSize();
  123   descr->user_requested_alignment = chunk.UserRequestedAlignment();
  124   descr->alloc_type = chunk.GetAllocType();