This pattern, used by https://github.com/kaist-hacking/HardsHeap, uncovered bugs in other memory allocators.