his.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
A framework for rapid development of dynamic binary translators
University of Skövde, School of Humanities and Informatics.
2004 (English)Independent thesis Basic level (degree of Bachelor)Student thesis
Abstract [en]

Binary recompilation and translation play an important role in computer systems today. It is used by systems such as Java and .NET, and system emulators like VMWare and VirtualPC. A dynamic binary translator have several things in common with a regular compiler but as they usually have to translate code in real-time several constraints have to be made, especially when it comes to making code optimisations.

Designing a dynamic recompiler is a complex process that involves repetitive tasks. Translation tables have to be constructed for the source architecture which contains the data necessary to translate each instruction into binary code that can be executed on the target architecture. This report presents a method that allows a developer to specify how the source and target architectures work using a set of scripting languages. The purpose of these languages is to relocate the repetitive tasks to computer software, so that they do not have to be performed manually by programmers. At the end of the report a simple benchmark is used to evaluate the performance of a basic IA32 emulator running on a PowerPC target that have been implemented using the system described here. The results of the benchmark is compared to the results of running the same benchmark on other, existing, emulators in order to show that the system presented here can compete with the existing methods used today.

Several ongoing research projects are looking into ways of designing binary translators. Most of these projects focus on ways of optimising code in real-time and how to solve the problems related to binary translation, such as handling self-modifying code.

Place, publisher, year, edition, pages
Skövde: Institutionen för datavetenskap , 2004. , 49 p.
Keyword [en]
Emulation, Binary Translation, Dynamic Recompilation, JIT-compiler
National Category
Computer Science
Identifiers
URN: urn:nbn:se:his:diva-867OAI: oai:DiVA.org:his-867DiVA: diva2:3283
Presentation
(English)
Uppsok
Technology
Supervisors
Available from: 2008-02-18 Created: 2008-02-18 Last updated: 2009-10-07

Open Access in DiVA

fulltext(1952 kB)511 downloads
File information
File name FULLTEXT01.psFile size 1952 kBChecksum SHA-1
e1bd9dd3635b235a8a6269d0d1bf3a825edabc14b7a5bf3a02032e98de58e5029bc36787
Type fulltextMimetype application/postscript
fulltext(453 kB)928 downloads
File information
File name FULLTEXT02.pdfFile size 453 kBChecksum SHA-512
52175ec106586bfb7ab910595d933e5c1202ab723389d6c51d38ad51737feab3c4c97daa18723be822e8ce5c681008b8f9176e6f80a2e642d48e6a13e549bb23
Type fulltextMimetype application/pdf

By organisation
School of Humanities and Informatics
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 1439 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 324 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf