Is there a way to check whether a .so has been compiled with -Bsymbolic-functions flag?
8
votes
2
answers
2387
views
My application loads custom code using
dlopen
on the fly.
For common symbols, the global symbol table is used by default.
However, I want to provide the functionality where - if the user has linked their so with -Bsymbolic-functions
, I pass the RTLD_DEEPBIND
flag to the dlopen
function.
Is there a way I can programmatically know whether a .so is linked with -Bsymbolic-functions
or not using C ?
Asked by amisax
(3083 rep)
Jul 20, 2015, 05:05 AM
Last activity: Jan 5, 2021, 01:13 PM
Last activity: Jan 5, 2021, 01:13 PM