From: Peter L. <pe...@ro...> - 2014-09-16 13:52:06
|
Any thoughts on how hard it would be to implement? Note that I'm only trying to go to LLVM assembly code, not some other architecture's assembly code. Thanks Peter On Tue, Sep 16, 2014 at 8:24 AM, Nguyen Anh Quynh <aq...@gm...> wrote: > > > On Tue, Sep 16, 2014 at 6:20 AM, Peter Lucia <pe...@ro...> wrote: > >> Hello, >> >> Is LLVM Bitcode itself a supported input architecture? I have some files >> that have not yet been fully compiled to PowerPC or MIPS, but instead are >> still in LLVM Bitcode format (in other words, clang with the -emit-llvm option) >> and I'd love to use capstone to disassemble them pragmatically. >> >> If this is not already implemented, how hard would it be to do? Is there >> some other better way to do this? I'm using llvm-dis now, but it's not >> ideal for all the reasons capstone would seem to excel. >> >> > unfortunately no. the main idea of Capstone is to disassemble machine > binary code back to assembly code. so Capstone does not, and will never > convert LLVM bitcode back to assembly for you. > > > thanks. > Q > |