LLNL / GOTCHA

GOTCHA is a library for wrapping function calls in shared libraries
https://gotcha.readthedocs.io/en/latest/
Other
71 stars 21 forks source link

Get the handle from dlopen and not from debug infos #143

Closed alkino closed 8 months ago

alkino commented 9 months ago

Should fix #142

You should look twice and understand it twice before merge (we are out of my competences).

There is 2 different link_map, one is internal and seen in the API only as void* returned by dlopen() and used as first argument by dlsym(). The other one is public but is used for debugging purpose.