https://bugs.kde.org/show_bug.cgi?id=402604
Bug ID: 402604 Summary: Report All Dangling pointers upon exit and monitor command Product: valgrind Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: asan...@lseg.com Target Milestone: --- 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. -- You are receiving this mail because: You are watching all bug changes.