/elf/ |
A D | tst-glibc-hwcaps-prepend-cache.c | 60 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local 63 xdlclose (handle); in do_test() 76 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local 79 xdlclose (handle); in do_test() 84 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local 87 xdlclose (handle); in do_test() 99 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local 102 xdlclose (handle); in do_test() 107 void *handle = xdlopen (SONAME, RTLD_NOW); in do_test() local 110 xdlclose (handle); in do_test() [all …]
|
A D | tst-dlopen-nodelete-reloc-mod8.c | 24 static void *handle; variable 29 handle = dlopen ("tst-dlopen-nodelete-reloc-mod9.so", RTLD_NOW); in init() 30 if (handle == NULL) in init() 40 dlclose (handle); in fini()
|
A D | tst-dlopen-nodelete-reloc-mod10.c | 24 static void *handle; variable 29 handle = dlopen ("tst-dlopen-nodelete-reloc-mod11.so", RTLD_NOW); in init() 30 if (handle == NULL) in init() 40 dlclose (handle); in fini()
|
A D | tst-dlsym-error.c | 29 test_one (void *handle, const char *name, void *(func) (void *, const char *), in test_one() argument 43 void *addr = func (handle, symbol); in test_one() 78 void *handle = dlopen (LIBC_SO, RTLD_LAZY); in test_handles() local 79 if (handle == NULL) in test_handles() 84 test_one (handle, name, func, suffix); in test_handles() 85 dlclose (handle); in test_handles() 89 dlvsym_no_such_version (void *handle, const char *name) in dlvsym_no_such_version() argument 91 return dlvsym (handle, name, "NO_SUCH_VERSION"); in dlvsym_no_such_version() 95 dlvsym_glibc_private (void *handle, const char *name) in dlvsym_glibc_private() argument 97 return dlvsym (handle, name, "GLIBC_PRIVATE"); in dlvsym_glibc_private()
|
A D | nodelete2.c | 8 void *handle = dlopen ("nodel2mod3.so", RTLD_LAZY); in main() local 9 if (handle == NULL) in main() 14 dlclose (handle); in main()
|
A D | tst-sonamemove-dlopen.c | 28 void *handle = xdlopen ("tst-sonamemove-runmod1.so", RTLD_NOW); in do_test() local 29 TEST_VERIFY (xdlsym (handle, "moved_function") != NULL); in do_test() 30 TEST_VERIFY (xdlvsym (handle, "moved_function", "SONAME_MOVE") != NULL); in do_test()
|
A D | reldep8.c | 8 void *handle = dlopen ("reldep8mod3.so", RTLD_LAZY); in main() local 9 if (handle == NULL) in main() 14 dlclose (handle); in main()
|
A D | reldep9.c | 8 void *handle = dlopen ("reldep9mod3.so", RTLD_LAZY); in main() local 9 if (handle == NULL) in main() 14 dlclose (handle); in main()
|
A D | tst-array4.c | 10 void *handle = dlopen ("tst-array2dep.so", RTLD_LAZY); in main() local 14 if (handle != NULL) in main() 15 dlclose (handle); in main()
|
A D | loadtest.c | 20 void *handle; member 114 if (testobjs[index].handle == NULL) in main() 121 if (testobjs[index].handle == NULL) in main() 135 testobjs[index].name, testobjs[index].handle); in main() 139 if (dlclose (testobjs[index].handle) != 0) in main() 148 testobjs[index].handle = NULL; in main() 150 if (testobjs[0].handle == NULL in main() 151 && testobjs[1].handle == NULL in main() 152 && testobjs[5].handle == NULL) in main() 174 if (testobjs[count].handle != NULL) in main() [all …]
|
A D | tst-dlmopen-dlerror.c | 27 void *handle = xdlmopen (LM_ID_NEWLM, "tst-dlmopen-dlerror-mod.so", in do_test() local 29 void (*call_dlsym) (const char *name) = xdlsym (handle, "call_dlsym"); in do_test() 30 void (*call_dlopen) (const char *name) = xdlsym (handle, "call_dlopen"); in do_test()
|
A D | tst-dlmopen-gethostbyname.c | 24 void *handle = xdlmopen (LM_ID_NEWLM, "tst-dlmopen-gethostbyname-mod.so", in do_test() local 26 void (*call_gethostbyname) (void) = xdlsym (handle, "call_gethostbyname"); in do_test()
|
A D | tst-initfinilazyfail.c | 28 void *handle = dlopen ("tst-initlazyfailmod.so", RTLD_LAZY); in test_constructor() local 29 if (handle == NULL) in test_constructor() 32 FAIL_EXIT (2, "dlopen did not terminate the process (%p)", handle); in test_constructor() 38 void *handle = xdlopen ("tst-finilazyfailmod.so", RTLD_LAZY); in test_destructor() local 39 int ret = dlclose (handle); in test_destructor()
|
A D | tst-dlmodcount.c | 75 void *handle; in load() local 78 handle = dlopen (path, RTLD_LAZY); in load() 79 if (!handle) in load() 82 return handle; in load() 86 unload (const char *path, void *handle) in unload() argument 89 if (dlclose (handle) < 0) in unload()
|
A D | tst-getauxval-static.c | 47 void *handle = xdlopen ("tst-auxvalmod.so", RTLD_LAZY); in do_test() local 48 void *ptr = xdlsym (handle, "getauxval_wrapper"); in do_test() 62 xdlclose (handle); in do_test()
|
A D | tst-latepthread.c | 29 void *handle = dlopen ("tst-latepthreadmod.so", RTLD_LOCAL | RTLD_LAZY); in do_test() local 30 if (handle == NULL) in do_test() 35 void *ptr = dlsym (handle, "trigger_dynlink_failure"); in do_test()
|
A D | dl-sym.c | 85 do_sym (void *handle, const char *name, void *who, in do_sym() argument 95 if (handle == RTLD_DEFAULT) in do_sym() 129 else if (handle == RTLD_NEXT) in do_sym() 152 struct link_map *map = handle; in do_sym() 178 _dl_vsym (void *handle, const char *name, const char *version, void *who) in _dl_vsym() argument 189 return do_sym (handle, name, who, &vers, 0); in _dl_vsym() 193 _dl_sym (void *handle, const char *name, void *who) in _dl_sym() argument 195 return do_sym (handle, name, who, NULL, DL_LOOKUP_RETURN_NEWEST); in _dl_sym()
|
A D | tst-dlopen-self.c | 29 void *handle = dlopen (path, RTLD_LAZY); in check_dlopen_failure() local 30 if (handle != NULL) in check_dlopen_failure()
|
A D | tst-dlopenfail.c | 47 void *handle = xdlopen ("tst-dlopenfailmod2.so", RTLD_NOW); in do_test() local 48 xdlclose (handle); in do_test()
|
A D | tst-dlopen-tlsmodid.h | 50 void *handle = dlopen (TST_DLOPEN_TLSMODID_PATH, RTLD_LAZY); in check_dlopen_failure() local 51 if (handle != NULL) in check_dlopen_failure()
|
A D | tst-dlmopen-dlerror-mod.c | 46 void *handle = dlopen (name, RTLD_NOW); in call_dlopen() local 47 if (handle != NULL) in call_dlopen()
|