InnovationQ and the IP.com Prior Art Database will be updated on Sunday, December 15, from 11am-2pm ET. You may experience brief service interruptions during that time.
Browse Prior Art Database

Extracting a part of the program

IP.com Disclosure Number: IPCOM000185686D
Original Publication Date: 2009-Jul-31
Included in the Prior Art Database: 2009-Jul-31

Publishing Venue



Often a developer has to write a program that is very similar to an existing one. In such case using the code of the existing program is much easier than writing from scratch. However, extracting the needed parts of the code can be a difficult task even if the source code is available. The approach described in this article finds the parts of the code that are responsible for determined functionality of the program. The method used is based on building the coverage of the executed code by tracing all branch instructions in the machine code of the investigated program and then mapping it with the source code. This approach reduces the time of extracting the part of the program significantly and eliminates a lot of routine work. It can also be applied for estimating the coverage of unit tests.