[LLVMdev] Binary translation to LLVM bitcode

Tilmann Scheller tilmann.scheller at googlemail.com
Sun Jun 15 13:32:42 PDT 2008


On Thu, Jun 12, 2008 at 8:21 PM, Christian Plessl
<christian.plessl at uni-paderborn.de> wrote:
> b) What is the state of llvm-qemu (http://code.google.com/p/llvm-
> qemu/)? Could llvm-qemu be used for binary translation of x86 binaries
> to LLVM bitcode?

llvm-qemu currently translates from ARM machine code to LLVM IR (at
basic block level)
and via the LLVM JIT to x86 machine code. Basically all source
architectures supported by qemu (x86, x86-64, ARM, SPARC, PowerPC, MIPS, m68k)
can be translated to LLVM IR this
way (e.g. adding support for x86 to llvm-qemu should be almost trivial).

For more information I suggest taking a look at this thread which
describes the current state and some of the internals of llvm-qemu:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-April/013689.html

Greetings,

Tilmann Scheller



More information about the llvm-dev mailing list