loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
30th EUROMICRO Conference (EUROMICRO'04)
Detection of Heap Management Flaws in Component-Based Software
Rennes, France
August 31-September 03
ISBN: 0-7695-2199-1
Heikki Verta, NOKIA Research Center, Finland
Titos Saridakis, NOKIA Research Center, Finland
Heap management is responsible for the allocation of heap segments to a running application. When the logic of the heap management is left to the application programmer, as it is the case with programming languages like C and C++, a number of problems may arise. One kind of problems related to imperfect heap management is that of memory leaks, which happen when heap segments become inaccessible before they are deallocated. Closely related to that problem, from the standpoint of programmer's operations, is the problem of corrupted heap due to redundant attempts to deallocate the same heap segment that has been previously allocated. This paper present a method for detecting such flaws in heap management. Our method is based on traces collected during the execution of an application and their off-line analysis in order to determine the presence of memory leaks and redundant deallocations of the same heap segment. When our method is applied to component-based embedded software, it allows to locate the component that had allocated heap memory and did not deallocate it before exiting, as well as the components that are responsible for the redundant deallocation of heap segments.
Citation:
Heikki Verta, Titos Saridakis, "Detection of Heap Management Flaws in Component-Based Software," euromicro, pp.583-590, 30th EUROMICRO Conference (EUROMICRO'04), 2004
Usage of this product signifies your acceptance of the Terms of Use.