Hi,
During my research work, I need to call my own functions instead of
calling the runtime function "fixup()" and the internal function
"_dl_lookup_symbol()" in libc.so.
As I know, the address of fixup() was put in each PLT entry at the
beginning of a program execution, and the fixup() will call
_dl_lookup_symbol() to find the address of a function and complete the
relocation process.
I want to change the implementation of _dl_lookup_symbol() so that to
control its behaviors. I was wondering if there is a way to replace
fixup() or _dl_lookup_symbol() for my special programs without change
and recompile libc.so.
Thanks for your time.
Jinghao