发明名称 Systems and methods for demarcating information related to one or more blocks in an application
摘要 The invention relates to a system and method for demarcating information related to one or more blocks in an application source code. This invention provides a means to annotate block information in the source code. It parses the application source code to generate an abstract syntax tree and instruments the source code to capture information related to the one or more blocks generated at the time of dynamic analysis of the application. The information related to the one or more blocks are stored in Hash Map and based on this information the abstract syntax tree is modified to add the information related to the one or more blocks and inserting this information in the application source code.
申请公布号 US8869125(B2) 申请公布日期 2014.10.21
申请号 US201213714241 申请日期 2012.12.13
申请人 Infosys Limited 发明人 Emani Murali Krishna;Mallick Sudeep;Prasad Balkrishna
分类号 G06F9/45 主分类号 G06F9/45
代理机构 LeClairRyan 代理人 LeClairRyan
主权项 1. A method for demarcating information, the method comprising: parsing, by a computing device, source code of an application to generate an abstract syntax tree; generating, by the computing device, an instrumented code from the abstract syntax tree; compiling, by the computing device, the instrumented code along with a dynamic analysis code; creating, by the computing device, one or more blocks in the source code of the application when one or more subroutines defined in the dynamic analysis code are called during a dynamic analysis of the instrumented code; storing, by the computing device, information related to the one or more blocks in the source code of the application in a Hash Map; and annotating, by the computing device, the information related to the one or more blocks in the source code of the application into the source code of the application by inserting one or more comments into the abstract syntax tree based on the information related to the one or more blocks in the source code of the application stored in the Hash Map.
地址 Bangalore IN