Translation method in dynamic binary translation

A dynamic binary and instruction mode technology, applied in the field of pattern matching translation, can solve problems such as high system overhead, achieve the effects of improving performance, improving translation quality and effect, and reducing system overhead

Active Publication Date: 2006-03-15
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to provide a translation method in dynamic binary translation, which overcomes the defect of large system overhead caused by repeated cod

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
  • Translation method in dynamic binary translation
  • Translation method in dynamic binary translation
  • Translation method in dynamic binary translation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.

[0041] Fig. 2 is the flowchart of translation method of the present invention, as shown in the figure, a kind of translation method in dynamic binary translation comprises the following steps:

[0042] Step 10, statistically looking for the translation code fragments that frequently appear in the translation code and affect the translation quality,

[0043] Step 20, find out the instruction pattern in the above code fragment. In step 20, the instruction pattern is a unified expression form for a class of instruction sequences with similar characteristics. A command pattern may also contain multiple sub-patterns. The sub-pattern conforms to the instruction pattern and represents a specific instruction sequence in the instruction pattern.

[0044] Step 30, determine the translation correspondence of the instruction pattern. In step 30, there...

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

A translation method in dynamic binary translation includes counting and searching out translation code section appeared frequently and influenced quality of translation, finding out command mode in said code section and confirming translation corresponding relation of command mode, scanning basic block to be translated and searching said command mode, making mark on said command mode if said command mode is found or otherwise ending scan, translation basic block and translating it according to translation corresponding relation of said command mode when marked command is met in translation or otherwise translating if according to conventional means.

Description

technical field [0001] The invention relates to binary software transplantation technology, in particular to a pattern matching translation method in dynamic binary translation. Background technique [0002] The replacement of computer systems is faced with the loss of a large number of software resources, and executable programs on hardware platforms with different instruction set structures cannot be executed across platforms. Binary translation is an effective method to solve software transplantation between different platforms, and because it does not need source code support, it has become a hot spot in the field of software transplantation. Binary translation can be divided into static binary translation and dynamic binary translation. The former needs to generate target platform executable files corresponding to the entire source platform program, while the latter only needs to consume the code fragments generated by translation immediately during execution without le...

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
IPC IPC(8): G06F9/45
Inventor 白童心张兆庆冯晓兵武成岗唐锋马湘宁谢海斌杨浩崔慧敏
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products