Hardware-based advanced program dynamic control flow tracking method and device
A dynamic control and advanced program technology, applied in the direction of program control device, program control design, software testing/debugging, etc., can solve problems such as structural differences and achieve the effect of reducing impact
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0054] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0055] In this embodiment, a hardware-based high-level program dynamic control flow tracking method is to track the dynamic control flow of a Java language program, which is implemented by a software program running on a computer with an Intel processor. For Intel processors, the hardware trace is based on the Intel Processor Trace (Intel PT) development kit. Corresponding to the Java language program, the virtual machine is a Java virtual machine. refer to figure 1 , the method of this embodiment includes the following steps:
[0056] S1: Obtain the program to be tracked;
[0057] S2: Perform static analysis on the program to be tracked, and generate a control flow graph, a class inheritance graph, and a call relationship graph;
[0058] S3: collecting the bytecode instruction template, execution information and tracking data when the program to be track...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


