Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing positive and reverse execution of instruction set simulator

A simulator, instruction set technology, applied in software simulation/interpretation/simulation, instrumentation, error detection/correction, etc., to save time and effort

Active Publication Date: 2017-04-05
北京轩宇信息技术有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem solved by the present invention is: to overcome the deficiencies of the prior art, to provide a method for realizing the forward and reverse bidirectional execution of the instruction set simulator, and to solve the problem that the target software program needs to be executed to less than or greater than Compared with the existing technology, the problem of the current simulation time can make the software program execute forward or backward relative to the current time, greatly improving the efficiency and quality of software program debugging and testing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing positive and reverse execution of instruction set simulator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Aiming at the deficiencies of the prior art, the present invention provides a method for realizing forward and reverse bidirectional execution of an instruction set simulator, which solves the problem that the target software program needs to be executed to a point less than or greater than the current simulation time during software program debugging and testing. The software program can be executed forward or backward relative to the current time, which improves the efficiency and quality of software program debugging and testing. The present invention provides a method for realizing forward and reverse bidirectional execution of an instruction set simulator, including recording the state of key time nodes, Steps such as finding a point recorded recently, the interval of setting points, running to the time set, the method of the present invention will be described in detail below in conjunction with the accompanying drawings, as figure 1 The illustrated method of the p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for realizing positive and reverse execution of instruction set simulator. The method comprises the steps of firstly executing software by using the instruction set simulator to obtain processor running states, register states, memory states and peripheral states of the instruction set simulator corresponding to multiple key recording time points; then obtaining an external execution instruction; obtaining a starting time point of needed reverse execution if the reverse execution is needed in a positive execution process; and finally calculating a key recording time point by using time granularity or an ending time point of the needed reverse execution, and recovering the processor running state, the resister state, the memory state and the peripheral state of the instruction set simulator at the key recording point, and performing the positive execution until reaching the ending time point of the needed reverse execution so as to finish positive and reverse execution of the instruction set simulator.

Description

technical field [0001] The invention relates to a program debugging and testing technology, in particular to a method for realizing forward and reverse bidirectional execution of an instruction set simulator. Background technique [0002] Software debugging and testing are effective means to improve software quality and ensure software reliability. The purpose of software testing is to find software errors, and the purpose of software debugging is to locate and correct errors. In the process of software debugging and testing, it is often necessary to make the software execute to a specific moment, so as to facilitate the finding of software problems. Usually in the process of software testing and debugging, in order to quickly locate the error, some important variable content (especially the intermediate results of some variables), or key variables, specific functions, subroutines, procedure calls, and loops are output. Set breakpoints in key parts such as before and after ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455G06F11/36
CPCG06F9/45504G06F11/362G06F11/3668
Inventor 郑小萌高栋栋贾春鹏滕俊元虞砺琨朱倩
Owner 北京轩宇信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products