The Libraries will be performing routine maintenance on UWSpace on October 20th, 2025, from 10:00-10:30 pm ET. UWSpace will be unavailable during this time. Service should resume by 10:30 pm ET.
 

AddressWatcher: Automatic Memory Leak Fixing

dc.contributor.advisorNagappan, Mei
dc.contributor.authorMurali, Aniruddhan
dc.date.accessioned2021-12-17T20:31:54Z
dc.date.available2021-12-17T20:31:54Z
dc.date.issued2021-12-17
dc.date.submitted2021-12-09
dc.description.abstractAutomatic 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 matching the developer's fix. AddressWatcher is scalable to multithreaded applications. AddressWatcher is complementary to existing static analysis tools that fix memory leaks.en
dc.identifier.urihttp://hdl.handle.net/10012/17775
dc.language.isoenen
dc.pendingfalse
dc.publisherUniversity of Waterlooen
dc.relation.urihttps://github.com/darkforce392/gccen
dc.subjectmemory leaken
dc.subjectbug fixingen
dc.subjectsoftware securityen
dc.titleAddressWatcher: Automatic Memory Leak Fixingen
dc.typeMaster Thesisen
uws-etd.degreeMaster of Mathematicsen
uws-etd.degree.departmentDavid R. Cheriton School of Computer Scienceen
uws-etd.degree.disciplineComputer Scienceen
uws-etd.degree.grantorUniversity of Waterlooen
uws-etd.embargo.terms0en
uws.comment.hiddenThe thesis defense was completed on December 9th 10am-11 am.en
uws.contributor.advisorNagappan, Mei
uws.contributor.affiliation1Faculty of Mathematicsen
uws.peerReviewStatusUnrevieweden
uws.published.cityWaterlooen
uws.published.countryCanadaen
uws.published.provinceOntarioen
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Murali_Aniruddhan.pdf
Size:
617.16 KB
Format:
Adobe Portable Document Format
Description:
Thesis deposit: AddressWatcher Automatic Memory Leak fixing

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
6.4 KB
Format:
Item-specific license agreed upon to submission
Description: