Home
last modified time | relevance | path

Searched refs:RTLD_NEXT (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/ofed/librdmacm/
H A Dpreload.c386 real.socket = dlsym(RTLD_NEXT, "socket"); in init_preload()
387 real.bind = dlsym(RTLD_NEXT, "bind"); in init_preload()
388 real.listen = dlsym(RTLD_NEXT, "listen"); in init_preload()
389 real.accept = dlsym(RTLD_NEXT, "accept"); in init_preload()
390 real.connect = dlsym(RTLD_NEXT, "connect"); in init_preload()
391 real.recv = dlsym(RTLD_NEXT, "recv"); in init_preload()
392 real.recvfrom = dlsym(RTLD_NEXT, "recvfrom"); in init_preload()
393 real.recvmsg = dlsym(RTLD_NEXT, "recvmsg"); in init_preload()
394 real.read = dlsym(RTLD_NEXT, "read"); in init_preload()
395 real.readv = dlsym(RTLD_NEXT, "readv"); in init_preload()
[all …]
/freebsd/contrib/file/src/
H A Dmemtest.c50 void *(*orig)(size_t) = dlsym(RTLD_NEXT, "malloc"); in malloc()
61 void (*orig)(void *) = dlsym(RTLD_NEXT, "free"); in free()
71 void *(*orig)(size_t, size_t) = dlsym(RTLD_NEXT, "calloc"); in calloc()
82 void *(*orig)(void *, size_t) = dlsym(RTLD_NEXT, "realloc"); in realloc()
/freebsd/contrib/libfido2/fuzz/
H A Dpreload-snoop.c87 open_f = dlsym(RTLD_NEXT, "open"); in open()
142 close_f = dlsym(RTLD_NEXT, "close"); in close()
169 read_f = dlsym(RTLD_NEXT, "read"); in read()
178 write_f = dlsym(RTLD_NEXT, "write"); in read()
202 write_f = dlsym(RTLD_NEXT, "write"); in write()
H A Dpreload-fuzz.c45 open_f = dlsym(RTLD_NEXT, "open"); in open()
75 close_f = dlsym(RTLD_NEXT, "close"); in close()
93 write_f = dlsym(RTLD_NEXT, "write"); in write()
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_linux.cpp42 void *addr = dlsym(RTLD_NEXT, name); in GetFuncAddr()
69 return dlvsym(RTLD_NEXT, name, ver); in GetFuncAddr()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_linux.cpp65 void *MemprofDlSymNext(const char *sym) { return dlsym(RTLD_NEXT, sym); } in MemprofDlSymNext()
/freebsd/include/
H A Ddlfcn.h63 #define RTLD_NEXT ((void *) -1) /* Search subsequent objects. */ macro
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_linux.cpp231 void *AsanDlSymNext(const char *sym) { return dlsym(RTLD_NEXT, sym); } in AsanDlSymNext()
/freebsd/contrib/llvm-project/compiler-rt/lib/safestack/
H A Dsafestack_platform.h67 void *real = dlsym(RTLD_NEXT, symbol); in GetRealLibcAddress()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp55 : reinterpret_cast<decltype(&Function)>(dlsym(RTLD_NEXT, #Function)))
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp33 void *addr = dlsym(RTLD_NEXT, name); in getFuncAddr()
/freebsd/crypto/openssl/crypto/dso/
H A Ddso_dlfcn.c31 (defined(__osf__) && !defined(RTLD_NEXT)) || \
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp188 void *f = dlsym(RTLD_NEXT, "setenv"); in SetEnv()
237 void *get_tls_static_info = dlsym(RTLD_NEXT, "_dl_get_tls_static_info"); in InitTlsSize()
H A Dsanitizer_netbsd.cpp78 void *real = dlsym(RTLD_NEXT, symbol); in GetRealLibcAddress()
H A Dsanitizer_linux.cpp920 (decltype(sysctlnametomib) *)dlsym(RTLD_NEXT, "sysctlnametomib"); in internal_sysctlbyname()
H A Dsanitizer_common_interceptors.inc281 // with RTLD_NEXT to return the oldest versioned symbol.
3832 // Workaround a bug in glibc where dlsym(RTLD_NEXT, ...) returns the oldest
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dompt-general.cpp168 (ompt_start_tool_t)dlsym(RTLD_NEXT, "ompt_start_tool"); in ompt_start_tool()
H A Dkmp_os.h1301 #define KMP_DLSYM_NEXT(name) dlsym(RTLD_NEXT, name)
/freebsd/contrib/jemalloc/src/
H A Dbackground_thread.c843 pthread_create_fptr = dlsym(RTLD_NEXT, "pthread_create");
/freebsd/libexec/rtld-elf/
H A Drtld.c3955 if (handle == NULL || handle == RTLD_NEXT || handle == RTLD_DEFAULT || in do_dlsym()
3969 } else if (handle == RTLD_NEXT || /* Objects after caller's */ in do_dlsym()
3971 if (handle == RTLD_NEXT) in do_dlsym()