System and method of analyzing interpreted programs
Abstract
A method for analyzing the performance of a program when running in an interpreted environment. An interpreter is a program that translates and executes another program. To analyze a binary in an interpreted environment, a mechanism is used to indicate points in the program at source, intermediate, or binary showing where information about the system is to be tracked/profiled/analyzed. Once these analysis points are determined, triggers are created in a separate file or inserted via program instrumentation into the binary to indicate to the interpreter when the analysis triggers need to be processed. The system being analyzed is then run via an interpreter. When one of these triggers occurs during execution, the interpreter calls analysis code passing it the appropriate information so that it may track statistics, metrics, and information about the program corresponding to the trigger.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An analysis method, comprising: identifying at least one construct in a program, wherein the program comprises native instructions for execution on a first processor having a first machine instruction set; assigning at least one native instruction of the program proximate the construct to be a trigger to invoke analysis code; generating a trigger map file that stores information specifying instrumented triggers in the program including the assigned trigger and further stores information indicative of the assigned native instruction of the assigned trigger; generating a trigger parameter file t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗