Invention Grant
- Patent Title: Method and apparatus for locating memory leak in a program
- Patent Title (中): 用于定位程序中的内存泄漏的方法和装置
-
Application No.: US12511122Application Date: 2009-07-29
-
Publication No.: US08479162B2Publication Date: 2013-07-02
- Inventor: Ying Li , Tian Cheng Liu , Quan Long , Jing Luo , Cheng Wei Wang
- Applicant: Ying Li , Tian Cheng Liu , Quan Long , Jing Luo , Cheng Wei Wang
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Agent Dwayne Nelson
- Priority: CN200810144108 20080729
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A method and apparatus for locating a memory leak in a program code by a computer device using a combination of dynamic analysis and static analysis approaches. The method includes dynamically analyzing the program to determine a memory leak characteristic; filtering out items which do not match the determined memory leak characteristic of the program to reduce a static analysis range to certain suspicious parts of a source code; and statically analyzing the suspicious parts of the program to locate the memory leak in the program. The apparatus includes a dynamic analyzer device to determine memory leak characteristics; and a static analyzer device to filter out items which do not match the determined memory leak characteristic to reduce a static analysis range to certain suspicious parts of a source code and locate the memory leak in the program.
Public/Granted literature
- US20100031238A1 Method and Apparatus for Locating Memory Leak in a Program Public/Granted day:2010-02-04
Information query