[cfe-users] Binary modifications

David Blaikie via cfe-users cfe-users at lists.llvm.org
Fri Jul 24 13:01:13 PDT 2020

I don't think clang/llvm provides much in the way of infrastructure
that would help with that task. I've seen things like that done with
https://github.com/microsoft/detours fwiw.

On Fri, Jul 24, 2020 at 7:34 AM Mahmood Naderan via cfe-users
<cfe-users at lists.llvm.org> wrote:
> Hi,
> I would like to know if it is possible to modify a binary file with
> some custom assembly instructions. Specifically, I want to add some
> jump instruction at the end of some basic blocks that I want to
> reorder. Is there any starting point for that?
> Regards,
> Mahmood
> _______________________________________________
> cfe-users mailing list
> cfe-users at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

More information about the cfe-users mailing list