diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-06-06 17:40:11 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-06 22:16:11 +0200 |
commit | 89a38b72b7181b103aa524e8abd3fe98c8c75864 (patch) | |
tree | 3b71cde96160281d7d3c26468d53f88377d4760a /Userland/Libraries/LibC | |
parent | f82aa87d141a27271a3494fb734b5a9fc3ee4930 (diff) | |
download | serenity-89a38b72b7181b103aa524e8abd3fe98c8c75864.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r-- | Userland/Libraries/LibC/dlfcn.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/dlfcn.cpp b/Userland/Libraries/LibC/dlfcn.cpp index 73e54df798..41c13a5f92 100644 --- a/Userland/Libraries/LibC/dlfcn.cpp +++ b/Userland/Libraries/LibC/dlfcn.cpp @@ -10,3 +10,4 @@ DlCloseFunction __dlclose; DlOpenFunction __dlopen; DlSymFunction __dlsym; +DlAddrFunction __dladdr; |