<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 12, 2015 at 6:33 PM, Ahmed Bougacha <span dir="ltr"><<a href="mailto:ahmed.bougacha@gmail.com" target="_blank">ahmed.bougacha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><span>> On Thu, Mar 12, 2015 at 05:44:02PM -0700, Daniel Dilts wrote:<br>
>> Does there exist a tool that could lift a binary (assembly for some<br>
>> supported target) to LLVM IR?  If there isn't, does this seem like<br>
>> something that would be feasible?<br>
<br>
</span>There's plenty of variations on the idea: Revgen/S2E, Fracture, Dagger<br>
(my own), libcpu, several closed-source ones used by pentest shops,<br>
some that use another representation before going to IR (say<br>
llvm-qemu),  and probably others still I forgot about.<br>
<br>
Are you interested in a specific target / use case?<br></blockquote><div><br></div><div>I was thinking something along the lines of lifting a binary into IR and spitting it out for a different processor.</div><div><br></div><div>Or maybe a decompiling tool of some kind. </div></div><br></div></div>