×

Method for determining reachable methods in object-oriented applications that use class libraries

  • US 6,463,581 B1
  • Filed: 12/14/1998
  • Issued: 10/08/2002
  • Est. Priority Date: 10/03/1996
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for determining reachable methods in an object-oriented program which includes virtual method calls and which uses a class library having an interface, the method comprising the steps of:

  • identifying a first set containing initially reachable methods in the object-oriented program;

    for a given method in the object-oriented program that is reachable, including any of the initially reachable methods contained in the first set, identifying a second set containing calls reachable in the given method, and identifying a third set containing classes instantiated in the given method;

    for a given call in the second set, identifying a fourth set containing methods in the program reachable by a dynamic dispatch from the given call; and

    for a given class in the object-oriented program that is instantiated and that comprises any methods that override a method in the class library, identifying a fifth set containing methods of the given class reachable by a dynamic dispatch within the class library based on the interface.

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