[LLVMdev] Converting Machine code to LLVM IR

John McCall rjmccall at apple.com
Thu Jul 29 02:26:43 PDT 2010


On Jul 29, 2010, at 1:23 AM, subramanyam wrote:
> Hi everyone,
> 
> There are tools to convert machine code to an assembly language.
> Is there any similar tool to convert X86 machine code to LLVM IR?

No, sorry.  While it wouldn't be impossible to write one, it would be a
fairly complex transformation — as complex as a proper decompiler
if it made any effort to create reasonable IR.

John.



More information about the llvm-dev mailing list