×

Hybrid code modification in intermediate language for software application

  • US 10,241,890 B2
  • Filed: 07/28/2016
  • Issued: 03/26/2019
  • Est. Priority Date: 07/28/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product comprising a non-transitory computer-readable medium containing an executable set of instructions for code modification of a programming language platform and a software application in a bytecode language, the set of instructions configured to:

  • modify an execution engine of the programming language platform in the bytecode language when the execution engine is converted from source code into code in the bytecode language to alter a functionality of or add a new functionality to the programming language platform, wherein the modification of the execution engine is performed by at least one of a compiler and an interpreter;

    modify the software application in the bytecode language at runtime of the software application, wherein the software application is modified to include a runtime analysis rule that uses the altered or added new functionality of the programming language platform, wherein the software application is modified by;

    i) after startup of the software application, loading a class of the software application into the execution engine;

    ii) inserting a first bytecode to methods of the loaded class based on the runtime analysis rule that uses the new functionality of the programming language platform;

    iii) after the class is loaded and the first bytecode is inserted into the methods of the loaded class, loading another class of the software application and repeating processes i)-iii) until all the classes of the software application are loaded and the first bytecode inserted into the classes; and

    execute the modified software application on the modified execution engine.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×