How can I wrap ld-linux or execve into it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi,

Not exactly sure if this is the best mailing list for this question,
please recommend me elsewhere if more appropriate.

I am looking to perform some functionality before the dynamic linker
(linux-ld/ld.so) is invoked.

My naive assessment was that I would be able to set in the PT_INTERP
section of a binary, my *static binary*, which will then execve into
the dynamic linker after doing some precanned actions.

I came across https://github.com/Mic92/nix-ld which seems to do
something similar, but I was curious why it has to do a lot more to
achieve the same effect with a jump.

Cheers
FZ



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux