xiaoyaollvm
2013-May-03 01:48 UTC
[LLVMdev] How to convert the .s file(assemble) to .ll (IR)
Hi all, I have the file which is assemble, I want to convert it to IR. Are there some tools to do this in LLVM? Thanks, Yao -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130503/d7fd4741/attachment.html>
John Criswell
2013-May-03 03:01 UTC
[LLVMdev] How to convert the .s file(assemble) to .ll (IR)
On 5/2/13 8:48 PM, xiaoyaollvm wrote:> Hi all, > I have the file which is assemble, I want to convert it to IR. > Are there some tools to do this in LLVM?There might be a version of QEMU out there that converts native code to LLVM IR dynamically during execution. It might be used by the s2e project. -- John T.> Thanks, > Yao > > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130502/e5f7d90e/attachment.html>
James Courtier-Dutton
2013-May-03 08:51 UTC
[LLVMdev] How to convert the .s file(assemble) to .ll (IR)
On May 3, 2013 2:51 AM, "xiaoyaollvm" <xiaoyaollvm at 126.com> wrote:> > Hi all, > I have the file which is assemble, I want to convert it to IR. > Are there some tools to do this in LLVM? > Thanks, > Yao >Can you attach the .s file you have? I am working on a decompiler that will have an "output llvm ir". The real question is what are you going to do with the ir once you have it. As mine is a decompiler, i am focusing on making the output as humanly readable as possible. If you only need the ir in a state that llvm can work with, but not necessary easy to read, then llvm-qemu is likely to suit. I ask for you to attach your .s so that i can see how close my decompiler is to working with it. My decompiler is open source on github "libbeauty" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130503/85246384/attachment.html>