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

References

projects/compiler-rt/lib/hwasan/hwasan_allocator.cpp
  104   if (orig_size > kMaxAllowedMallocSize) {
  107              orig_size);
  110     ReportAllocationSizeTooBig(orig_size, kMaxAllowedMallocSize, stack);
  114   uptr size = TaggedSize(orig_size);
  132   meta->requested_size = static_cast<u32>(orig_size);
  141   if (size != orig_size) {
  142     internal_memcpy(reinterpret_cast<u8 *>(allocated) + orig_size, tail_magic,
  143                     size - orig_size - 1);
  152     if (flags()->tag_in_malloc && malloc_bisect(stack, orig_size)) {
  154       uptr tag_size = orig_size ? orig_size : 1;
  154       uptr tag_size = orig_size ? orig_size : 1;