mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 23:30:07 +00:00
9 lines
153 B
C
9 lines
153 B
C
|
#include <dlfcn.h>
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
void *h = dlopen("$ORIGIN/tst-auditmod9b.so", RTLD_LAZY);
|
||
|
int (*fp)(void) = dlsym(h, "f");
|
||
|
return fp() - 1;
|
||
|
}
|