| Summary: | Intentional leaks are getting identified as memleaks, is there any way to avoid/disable that? | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | sanjay.ku |
| Component: | memcheck | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | major | CC: | pjfloyd |
| Priority: | NOR | ||
| Version First Reported In: | 3.18.0 | ||
| Target Milestone: | --- | ||
| Platform: | RedHat Enterprise Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
sanjay.ku
2022-04-08 13:02:34 UTC
The usual way to do this is via a suppression file. Run Valgrind first with --gen-suppressions=all Then copy and paste the generated suppression into a file, giving it some label Then run Valgrind with --suppressions=your_new_suppressions_file |