- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for asanunpoison (0.17 sec)
-
src/runtime/malloc.go
// The allocated memory is larger than required userSize, it will also include // redzone and some other padding bytes. rzBeg := unsafe.Add(x, userSize) asanpoison(rzBeg, size-userSize) asanunpoison(x, userSize) } // TODO(mknyszek): We should really count the header as part // of gc_sys or something. The code below just pretends it is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
src/runtime/mheap.go
msanfree(base, bytes) } if asanenabled { // Tell asan that this entire span is no longer in use. base := unsafe.Pointer(s.base()) bytes := s.npages << _PageShift asanpoison(base, bytes) } h.freeSpanLocked(s, spanAllocHeap) unlock(&h.lock) }) } // freeManual frees a manually-managed span returned by allocManual.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0)