5 ms·
+1 - this isn't even that hard, it is include a single header + annotate allocations/frees, with some redzones around the actual allocation to know when the use
by gopalv 2y ago
+1 - this isn't even that hard, it is include a single header + annotate allocations/frees, with some redzones around the actual allocation to know when the user-code is writing into the pool pointer areas.
https://developers.redhat.com/articles/2022/03/23/use-valgrind-memcheck-custom-memory-manager https://developers.redhat.com/articles/2022/03/23/use-valgri...
- deleted 2y ago[deleted]
- hooli_gan 2y agohttps://en.wikipedia.org/wiki/Red_zone_(computing) https://en.wikipedia.org/wiki/Red_zone_(computing)
- dsp_person 2y agooof love on this page how scrolling hijacks the back button
- swah 2y agoThats with Claude, right?
- gopalv 2y ago> with Claude The comment itself is AI generated or the code reference? Here's some of my old code https://github.com/php/pecl-caching-apc/blob/0dd2a69bab58822ba86a88445de06638a6a2456d/apc_pool.c#L221 https://github.com/php/pecl-caching-apc/blob/0dd2a69bab58822...