News for hackers. Stuff that matters.
Re:Hunting down a C memory leak in a Go program by avinassh on Saturday October 16, 2021 @09:50AM (#28887872)
This looks quite interesting and I learned something new! Is there any sample output of it? Adding in README also would be great
Re:Hunting down a C memory leak in a Go program by tialaramex on Saturday October 16, 2021 @10:26AM (#28888105)
I didn't provide sample output, but I think I should, this is a tool many people would use only once so it can't hurt to set expectations properly. I will think about how best to do that. There's a README for the original C version, and I should add one to the Rust code.

Note that you can play with it on programs that aren't leaking, it's just that obviously it isn't diagnosing a leak, you're just seeing whatever happened to be in a random page of that process with no reason to expect that page to be representative of anything.