Hello everybody,
Recently I got to do some initialization work just before first executable statement of every user C application.
For that,
Can we hijack the main function and write a wrapper around main? using LD_PRELOAD ??
The solution should be a portable one.
thanks in advance.
--
Ravi.T
Recently I got to do some initialization work just before first executable statement of every user C application.
For that,
Can we hijack the main function and write a wrapper around main? using LD_PRELOAD ??
The solution should be a portable one.
thanks in advance.
--
Ravi.T
Comment