| Summary: | Report All Dangling pointers upon exit and monitor command | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | asanka <asankau> |
| Component: | memcheck | Assignee: | Julian Seward <jseward> |
| Status: | REPORTED --- | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SUMMARY Please provide a feature to report dangling pointers on - exit - upon a monitor command (similar to leak_check) e.g. char* globalVar; void main() { char* z1 = new char[10]; char* z2 = z1; globalVar = z2; delete[] z1; } At exit/monitor command of the program say that “globalVar” holds a pointer to a freed memory.