×

Detection of method calls to streamline diagnosis of custom code through dynamic instrumentation

  • US 8,566,800 B2
  • Filed: 05/11/2010
  • Issued: 10/22/2013
  • Est. Priority Date: 05/11/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method, comprising:

  • identifying a method to analyze in an application;

    determining a class of the method to analyze from among loaded classes in memory;

    loading a byte code representation of the class of the method to analyze from a resource location;

    parsing the byte code representation of the class of the method to analyze, the parsing identifies an instance of an invoke byte code in the byte code representation of the class of the method to analyze;

    based on the instance of the invoke byte code in the byte code representation of the class of the method to analyze, identifying a child referenced method of, the method to analyze;

    storing the child referenced method as a string;

    determining a class of the child referenced method;

    loading a byte code representation of the class of the child referenced method from a resource location;

    parsing the byte code representation of the class of the child referenced method to identify an instance of an invoke byte code in the byte code representation of the class of the child referenced method;

    based on the instance of the invoke byte code in the byte code representation of the class of the child referenced method, identifying a grandchild referenced method of the method to analyze; and

    storing the grandchild referenced method as a string.

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