[LLVMdev] converting x86 instructions to LLVM instructions

Alexandre Gouraud alexandre.gouraud at enst-bretagne.fr
Tue Sep 29 05:21:24 PDT 2009

Hi Timo,

Thanks for commenting. I feel like I have to justify why I don't want to use
QEMU, which is fine since my choice is not frozen actually.

QEMU is much more than what I need for dynamically instrumenting software.
My goal is automated testing to find bugs, which can quickly be intensive in
term of computational load. Thus I am trying to get the smallest (and
fastest) tool.
Even using QEMU, I am not sure the piece of code already exists. And if it
does, I can still extract it and put where I want. My question is really :
is it a long work (several months) or is it just a matter of two weeks? And
if it does not already exists, could it mean it is a nonsense, then why?

Finally about your proposition using valgrind, I think I will stick to
windows tools because this is what I know better. But it was ironic, wasn't


2009/9/29 Timo Juhani Lindfors <timo.lindfors at iki.fi>

> Alexandre Gouraud <alexandre.gouraud at enst-bretagne.fr> writes:
> > like to write the same kind of thing, but not using QEMU as they claim in
> > the paper, but rather with my own pin tool.
> You could also use valgrind to convert x86 to valgrind's IR and then
> write a tool to convert that IR to LLVM.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090929/7a3beba0/attachment.html>

More information about the llvm-dev mailing list