Master’s Thesis Presentation • Software Engineering • AddressWatcher: Automatic Memory Leak Fixing

Thursday, December 9, 2021 10:00 am - 10:00 am EST (GMT -05:00)

Please note: This master’s thesis presentation will be given online.

Aniruddhan Murali, Master’s candidate
David R. Cheriton School of Computer Science

Supervisor: Professor Mei Nagappan

Automatic bug fixing has become a promising direction over manual fixing of bugs. In this work, we focus on a specific bug: Memory Leaks. We propose an automatic approach to suggest memory leak fixes in C/C++ programs saving valuable developer time.

AddressWatcher is the first attempt to use Address Sanitizer and LeakSanitizer together to suggest fixes for memory leaks. Our dynamic analysis approach was evaluated on binutils, openssh, tmux. It requires test suite to be run several times over different program paths to identify potential fix location. In 10 out of 26 real world bugs AddressWatcher was able to correctly point the free location to fix the memory leak. AddressWatcher is scalable to multithreaded applications. AddressWatcher is complementary to existing static analysis tools that fix memory leaks.


To join this master’s thesis presentation on Zoom, please go to https://uwaterloo.zoom.us/j/93294187995?pwd=c1k1cU1lZjE3Qk80RVoyWXQzSmJMQT09.