Invention Grant
- Patent Title: Method and system for detecting memory leaks in a program
-
Application No.: US14000193Application Date: 2011-03-23
-
Publication No.: US09811441B2Publication Date: 2017-11-07
- Inventor: Radhika Santhanakrishnan , Venu Gopala Krishna Kishore Anumakonda , Chintan Vinodray Raval , Tejaswitha Nutikattu
- Applicant: Radhika Santhanakrishnan , Venu Gopala Krishna Kishore Anumakonda , Chintan Vinodray Raval , Tejaswitha Nutikattu
- Applicant Address: IN Bangalore
- Assignee: Infosys Limited
- Current Assignee: Infosys Limited
- Current Assignee Address: IN Bangalore
- Agency: Klarquist Sparkman, LLP
- International Application: PCT/IN2011/000194 WO 20110323
- International Announcement: WO2012/127482 WO 20120927
- Main IPC: G06F11/36
- IPC: G06F11/36

Abstract:
A method and a system have been disclosed for detecting one or more memory leaks in a program. The method includes receiving the program code. After receiving the program, the program is tokenized automatically in a predefined format. The predefined format may correspond to a format which is up-loadable to a database. Thereafter, the tokenized program code is analyzed to determine control flows in the program by using a memory leak pattern. The memory leak pattern is an incorrect control flow between the combination of memory allocation and memory de-allocation functions. After analyzing the tokenized program, the memory leaks are identified based on the determined control flows in the program. The memory leaks are identified during the development phase of the program code. Subsequently, the memory leaks are fixed by a programmer.
Public/Granted literature
- US20140298302A1 METHOD AND SYSTEM FOR DETECTING MEMORY LEAKS IN A PROGRAM Public/Granted day:2014-10-02
Information query