dimanche 8 mars 2015

adding memory leak functionality to linux


Vote count:

0




I would like to implement memory leak functionality in linux. I am aware of a header file called "mcheck.h" and does not want to do the same.


Basically, I want to create a program that executes another (just one) C++ program at a time and checks what all pointers have not been freed which were malloc'ed earlier. This idea is very much similar to the "memcheck" tool in valgrind which acts as a simulator to execute other programs.


I am not sure if I need to do linux kernel programming as it will lead me to check the memory under control of linux kernel. Looking for starting points.



asked 1 min ago







adding memory leak functionality to linux

Aucun commentaire:

Enregistrer un commentaire