×

Methods and apparatus for analyzing software interface usage

  • US 8,370,818 B2
  • Filed: 12/02/2006
  • Issued: 02/05/2013
  • Est. Priority Date: 12/02/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method of programmatically analyzing byte code on an analysis apparatus in order to identify one or more called application programming interfaces (APIs), said analysis apparatus comprising processing logic and a storage device, said method comprising:

  • providing, on said storage device, a first file path containing first byte code;

    providing a second file path containing second byte code;

    parsing, logic, files found on said first file path to create at least one first parsed class file;

    placing a name of at least one class defined in said at least one first parsed class file into a dictionary;

    parsing files found on said second file path to create at least one parsed second class file;

    evaluating each class on said second file path to identify one or more methods associated therewith;

    evaluating, via said processing logic, each of said one or more methods to identify at least one method or field invocation associated with any classes in said dictionary;

    if said evaluation of each of said one or more methods identifies at least one method or field invocation associated with a class missing from said dictionary, matching said identified at least one method or field invocation associated with a class missing from said dictionary with a similar class present in said dictionary; and

    rendering said first byte code interoperable with said second byte code by creating an association between said at least one method or field invocation associated with a class missing from said dictionary and said similar class.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×