This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Can dlsym(RTLD_DEFAULT, "xxx") return the virtual address of an external function in an executable file?
- From: <yhb at ruijie dot com dot cn>
- To: <libc-help at sourceware dot org>
- Date: Tue, 7 May 2019 04:01:28 +0000
- Subject: Can dlsym(RTLD_DEFAULT, "xxx") return the virtual address of an external function in an executable file?
Can dlsym(RTLD_DEFAULT, "xxx") return the virtual address of an external function in an executable file?
I did an experiment, and found out dlsym(RTLD_DEFAULT, "xxx") returned NULL.