[libcpu] Using udis86 as disassembler for x86

17 views
Skip to first unread message

Bjoern Doebel

unread,
May 24, 2010, 1:19:43 PM5/24/10
to lib...@googlegroups.com
Hi everyone,

in order to improve libcpu's x86 frontend respective coverage of
supported opcodes, it might make sense using an existing x86
disassembler.

udis86 (from http://udis86.sourceforge.net/ ) is already used by LLVM
internally (through the --with-udis86= config option) and comes as a
tiny BSD-licensed library, Would there be any objections against using
udis86 for the x86 frontend and if not, would the preferred way be to
incorporate source code or to depend on availability of the lib?

Cheers,
BjoernD

Pekka Enberg

unread,
May 24, 2010, 1:20:34 PM5/24/10
to lib...@googlegroups.com
Hi Bjoern,
As discussed in private, I'm OK with that if other people are find
with the dependency or source import.

Pekka

Bjoern Doebel

unread,
May 26, 2010, 5:07:00 PM5/26/10
to lib...@googlegroups.com
Well, ...

2010/5/24 Pekka Enberg <pen...@cs.helsinki.fi>:

I found out that I hadn't been searching for the LLVM disassembler
properly. It appears, there is one in LLVM-2.7 and later. I'll have a
look into compiling libcpu with later LLVM versions then.

http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html

Bjoern

Reply all
Reply to author
Forward
0 new messages