Re: reload .so without restarting process

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

 



Hatt Tom writes:

thanks for reply!

 I have used dlsym() to reload function A address ,  function B is
called from A , if I have modified function B ,do I need to use
dlsym() to reload B's address ?

I think it does not need ,as the dynamic linker will do this when
linking function A . Am I right ?

If you're not calling function B, you do not need to reload its symbol. You only need to call dlsym() for every function in the .so you are directly calling from your executable.

Attachment: pgpQoegSppGMZ.pgp
Description: PGP signature


[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