[LLVMdev] MC to LLVM disassembler?

Chris Lattner clattner at apple.com
Fri Jun 11 12:24:42 PDT 2010


On Jun 10, 2010, at 10:24 PM, Bob Grandish wrote:

> I'm wondering if anyone is working on a machine code -> LLVM bitcode disassembler? Obviously, there won't be a one-to-one correspondence but it seems like you should be able to get close. There's always inline asm for the remaining fragments.

Though the web page loads really slowly, you should definitely check out libcpu:
http://www.libcpu.org/wiki/index.php/Main_Page
http://penberg.blogspot.com/2010/01/libcpu-x86-front-end.html

-Chris



More information about the llvm-dev mailing list