Skip to content

ShahSunny/Memory-Leak-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple memory leak checker, Currently It works only with C++ code and monitors only New and Delete.
Usage:
->Just include LeakChecker.cpp and LeakChecker.h file in your project
->By default, when your program call exit() or it returns from main, LeakChecker will generate memoryLeak output on the location give by define LEAK_REPORT_FILE_NAME, which is there in LeakChecker.cpp file.
->If you want to generate output in the middle of the code ( not at the exit time ) then call below function.
    LeakChecker::GetLeakChecker()->generateLeakReport();
  Current code stops monitoring code for Leaks once you call above function.


Let me know if you need more features. my email is sunny.cpp at gmail dot com

About

C++ Memory Leak Checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published