How is ld-linux.so.2 [re]located?

Siddhesh Poyarekar siddhesh.poyarekar@gmail.com
Sun Mar 27 09:53:00 GMT 2011


On Sat, Mar 26, 2011 at 11:23 PM, Nix <nix@esperi.org.uk> wrote:
> ... yep, here we are: <http://bitwagon.com/rtldi/rtldi.html>.  I never
> tried it, so I don't know how well it still works, but presumably it
> worked at one time. (Of course it too has a different name for
> ld.so... so this might not help too terribly much if the problem is
> indeed an existing binary that needs running.)

There's patchelf, which ought to do the trick here. It modifies the
binary itself to use a different loader:

http://nixos.org/patchelf.html


-- 
Siddhesh Poyarekar
http://siddhesh.in



More information about the Libc-help mailing list