[LLVMdev] how to transform elf binary to llvm IR?

慕冬亮 mudongliangabcd at gmail.com
Fri Jul 17 21:49:03 PDT 2015


What we want to do is to transform binary(binary with symbolic
information) to llvm IR in static way.
I will instrument code in the llvm IR.
The compiler may be llvm clang.

2015-07-18 0:11 GMT+08:00 Shuai Wang <wangshuai901 at gmail.com>:

> This is not a easy task. And I believe there is *NO* (open-source) tool
> can fully solve this problem (statically). Correct me if I was wrong.
>
> It would be more helpful if you can provide details about what you want to
> do, say, static or dynamic ? stripped binary or binary with symbolic
> information?
> What compiler do you work on?
>
> Check out  papers below if you are interested.
>
> http://dl.acm.org/citation.cfm?id=2465380
>
> http://dl.acm.org/citation.cfm?id=2462165
>
>
>
> Shuai
>
>
>
> On Fri, Jul 17, 2015 at 3:09 AM, 慕冬亮 <mudongliangabcd at gmail.com> wrote:
>
>> I want to transform elf binary to llvm IR, and do some instrumentation
>> based on llvm.
>> Is there any tool which can do the transformation?
>> Thanks in advance.
>>
>>     - mudongliang
>>
>> _______________________________________________
>> 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/20150718/62645e85/attachment.html>


More information about the llvm-dev mailing list