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

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  795   return instance.allocator;
  838   instance.InitLinkerInitialized(options);
  842   instance.ReInitialize(options);
  846   instance.GetOptions(options);
  850   return instance.FindHeapChunkByAddress(addr);
  853   return AsanChunkView(instance.GetAsanChunk(reinterpret_cast<void*>(addr)));
  858   instance.CommitBack(this, &stack);
  862   instance.PrintStats();
  866   instance.Deallocate(ptr, 0, 0, stack, alloc_type);
  871   instance.Deallocate(ptr, size, alignment, stack, alloc_type);
  875   return SetErrnoOnNull(instance.Allocate(size, 8, stack, FROM_MALLOC, true));
  879   return SetErrnoOnNull(instance.Calloc(nmemb, size, stack));
  895     return SetErrnoOnNull(instance.Allocate(size, 8, stack, FROM_MALLOC, true));
  898       instance.Deallocate(p, 0, 0, stack, FROM_MALLOC);
  904   return SetErrnoOnNull(instance.Reallocate(p, size, stack));
  909       instance.Allocate(size, GetPageSizeCached(), stack, FROM_MALLOC, true));
  923       instance.Allocate(size, PageSize, stack, FROM_MALLOC, true));
  935       instance.Allocate(size, alignment, stack, alloc_type, true));
  946       instance.Allocate(size, alignment, stack, FROM_MALLOC, true));
  956   void *ptr = instance.Allocate(size, alignment, stack, FROM_MALLOC, true);
  967   uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr));
  976   return instance.AllocationSize(reinterpret_cast<uptr>(ptr));
  980   instance.ForceLock();
  984   instance.ForceUnlock();
  988   instance.SetRssLimitExceeded(limit_exceeded);
 1010   __asan::AsanChunk *m = __asan::instance.GetAsanChunkByAddrFastLocked(addr);
 1024   __asan::AsanChunk *m = __asan::instance.GetAsanChunkByAddrFastLocked(chunk);
 1064   __asan::AsanChunk *m = __asan::instance.GetAsanChunkByAddr(addr);
 1088   return instance.AllocationSize(ptr) > 0;
 1094   uptr allocated_size = instance.AllocationSize(ptr);
 1105   instance.Purge(&stack);