发明名称 METHOD AND SYSTEM FOR DETECTING MEMORY LEAKS IN A PROGRAM
摘要 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.
申请公布号 WO2012127482(A8) 申请公布日期 2012.11.29
申请号 WO2011IN00194 申请日期 2011.03.23
申请人 INFOSYS TECHNOLOGIES LIMITED;SANTHANAKRISHNAN, RADHIKA;ANUMAKONDA, VENU GOPALA KRISHNA KISHORE;RAVAL, CHINTAN VINODRAY;NUTIKATTU, TEJASWITHA 发明人 SANTHANAKRISHNAN, RADHIKA;ANUMAKONDA, VENU GOPALA KRISHNA KISHORE;RAVAL, CHINTAN VINODRAY;NUTIKATTU, TEJASWITHA
分类号 G06F11/00;G06F12/00 主分类号 G06F11/00
代理机构 代理人
主权项
地址