Hacker News new | ask | show | jobs
by gizmo686 267 days ago
Valgrind can generate suppression files directly.
2 comments

Yes, but in my past experience, one often wants to be edit those files to make them more generic… Valgrind struggles to distinguish which parts of the call stack are essential to a “known leak” versus which are coincidental.

I have never tried asking an LLM to do this-but it seems like the kind of problem with which an LLM might have some success, even if only partial success.

yes but LLMs have access and understanding of my code and can better discern what should be suppressed.