Details
-
Task
-
Status: Stalled (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Redzones are poisoned memory between all allocations from memory heaps. It uses more memory but catches buffer overflow and underflow.
Actually redzones could present if requested size is not a multiply of 8, because allocations size is aligned by 8. Obviously, it's not guaranteed.
As a bonus string-like and vector-like containers could be instrumented too. See here for example https://github.com/llvm-mirror/libcxx/blob/ab883e8c3b9fb281e5fe064784951c5addd5d11c/include/vector#L846
Attachments
Issue Links
- relates to
-
MDEV-19471 Add ASAN-poisoned redzones for mem_heap_t
- Closed