Design and Implementation of Executable Files Dynamic Memory Test Tool on Linux NC Platform

GAO Haichang,FENG Boqin,WEI Peng,HE Hangjun
DOI: https://doi.org/10.3969/j.issn.1000-3428.2007.01.025
2007-01-01
Abstract:A dynamic memory detection module DDMEM for C/C++ languages on Linux platform is designed to solve the errors of dynamic memory management.The malloc() dynamic distribution function is replaced by customized ddmemMalloc().And a share library DDMEM is achieved.The module can detect memory leak,write overflow,free wild pointer and mismatch using of memory functions of the executable files.Finally,an instance to test functions mismatch and comparing between the DDMEM and a representational test tool Memwatch is carried to validate the effectiveness of method and module.
What problem does this paper attempt to address?