MAPPING DYNAMIC ANALYSIS DATA TO SOURCE CODE
First Claim
Patent Images
1. A front-end compiler, comprising:
- an instrumenting module configured to;
receive information identifying at least one programming construct in a source code file;
receive the instrumentation to be performed on the at least one programming construct in the source code file;
insert the instrumentation into a representation of the source code file;
insert into a document table an identifier of the source code file and a location in the source code file comprising a location at which the at least one programming construct was found in the source code file;
collect dynamic analysis information for the instrumented programming language construct at execution;
store the collected dynamic analysis information for the instrumented programming construct in an analysis table indexed by the location at which the at least one programming construct was found in the source code file; and
match an index of the document table and an index of the analysis table to provide an exact location in the source code file of the instrumented programming language construct from which the collected dynamic analysis information was generated.
2 Assignments
0 Petitions
Accused Products
Abstract
Metadata tables can provide the link between the instrumentation information collected and the location in the source code of the programming language construct that was instrumented. The metadata tables enable the relationship between the programming construct in the source code and the dynamic analysis information collected to be exact rather than an estimate. During compilation information is collected that enables a mapping between document table and analysis table to occur.
-
Citations
20 Claims
-
1. A front-end compiler, comprising:
-
an instrumenting module configured to; receive information identifying at least one programming construct in a source code file; receive the instrumentation to be performed on the at least one programming construct in the source code file; insert the instrumentation into a representation of the source code file; insert into a document table an identifier of the source code file and a location in the source code file comprising a location at which the at least one programming construct was found in the source code file; collect dynamic analysis information for the instrumented programming language construct at execution; store the collected dynamic analysis information for the instrumented programming construct in an analysis table indexed by the location at which the at least one programming construct was found in the source code file; and match an index of the document table and an index of the analysis table to provide an exact location in the source code file of the instrumented programming language construct from which the collected dynamic analysis information was generated. - View Dependent Claims (2, 3, 4, 5, 7, 8)
-
-
6. (canceled)
-
9. A method of matching analysis data to a location in a source code program comprising:
-
receiving a document table, the document table comprising an identifier of a source code program, a method, and a text span representing a location of a programming language construct in the source code program, the programming language construct comprising an instrumented programming language construct; storing dynamic analysis data collected during execution of the instrumented programming language construct in an analysis table indexed by instrumentation point; matching an index of the document table and an index of the analysis table to determine an exact location of the programming language construct in the source code program; and providing an exact location of the instrumented programming language construct in the source code program from which the dynamic analysis was generated. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A device for exactly matching analysis results with location of a programming language construct in a source code file comprising:
-
a memory; a processor, the processor configured to; match instrumentation data collected at runtime to an exact location in the source code at which a programming language construct that was instrumented at compile time is found by; inserting into a document table an identifier of the source code file and a location in the source code file at which the at least one programming construct was found in the source code file; collecting dynamic analysis information for the instrumented programming language construct at execution; storing the collected dynamic analysis information for the instrumented programming construct in an analysis table indexed by the location at which the at least one programming construct was found in the source code file; and providing the exact location of the programming language construct in the source code file for the collected dynamic analysis information. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification