LibC+LibELF: Implement dladdr()

This implements the dladdr() function which lets the caller look up
the symbol name, symbol address as well as library name and library
base address for an arbitrary address.
This commit is contained in:
Gunnar Beutner 2021-06-06 17:40:11 +02:00 committed by Andreas Kling
commit 89a38b72b7
Notes: sideshowbarker 2024-07-18 12:43:58 +09:00
5 changed files with 73 additions and 0 deletions

View file

@ -10,3 +10,4 @@
DlCloseFunction __dlclose;
DlOpenFunction __dlopen;
DlSymFunction __dlsym;
DlAddrFunction __dladdr;