发明名称 MODELING MEMORY USE OF APPLICATIONS
摘要 A method includes receiving a program code at a processor. The method also includes generating, via the processor, a heap model corresponding to the program code. The method further includes detecting, via the processor, a linearizable data structure in the program code. The method also further includes modifying, via the processor, the heap model based on the detected linearizable data structure. The method also further includes analyzing, via the processor, the program code using the modified heap model.
申请公布号 US2016306641(A1) 申请公布日期 2016.10.20
申请号 US201514686893 申请日期 2015.04.15
申请人 International Business Machines Corporation 发明人 Hay Roee;Tripp Omer
分类号 G06F9/455;G06F9/44 主分类号 G06F9/455
代理机构 代理人
主权项 1. A system comprising: a memory having executable instructions stored thereon; and a processor coupled to the memory and configured to execute the instructions to: receive a program source code;generate, by performing a static analysis of the program source code, a heap model corresponding to the program source code, wherein the heap model comprises object allocation sites;detect, by performing the static analysis of the program source code, a linearizable data structure in the program source code, wherein at least one of the object allocation sites is associated with the linearizable data structure;modify, by performing the static analysis of the program source code, the heap model based on the detecting the linearizable data structure; andanalyze the program source code by performing the static analysis of the program source code using the modified heap model.
地址 Armonk NY US