4 ms·
I use it with Zig. It's pretty handy in conjunction with Zig's allocator because it writes 0xaa bytes upon free and doesn't reuse addresses, so it very likely c
by AndyKelley 2y ago
I use it with Zig. It's pretty handy in conjunction with Zig's allocator because it writes 0xaa bytes upon free and doesn't reuse addresses, so it very likely causes a crash, then you can put a watchpoint on the memory and rewind to the point where it got freed.
- sitkack 2y agoThat sounds really neat, is there more information on this? *Edit Found this, https://zig.news/david_vanderson/using-rr-to-quickly-debug-memory-corruption-2539 https://zig.news/david_vanderson/using-rr-to-quickly-debug-m...