Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/
Dasan_allocator2.cc361 uptr alloc_beg = reinterpret_cast<uptr>(allocated); in Allocate() local
362 uptr alloc_end = alloc_beg + needed_size; in Allocate()
363 uptr beg_plus_redzone = alloc_beg + rz_size; in Allocate()
378 if (alloc_beg != chunk_beg) { in Allocate()
379 CHECK_LE(alloc_beg+ 2 * sizeof(uptr), chunk_beg); in Allocate()
380 reinterpret_cast<uptr *>(alloc_beg)[0] = kAllocBegMagic; in Allocate()
381 reinterpret_cast<uptr *>(alloc_beg)[1] = chunk_beg; in Allocate()
535 static AsanChunk *GetAsanChunk(void *alloc_beg) { in GetAsanChunk() argument
536 if (!alloc_beg) return 0; in GetAsanChunk()
537 if (!allocator.FromPrimary(alloc_beg)) { in GetAsanChunk()
[all …]