MCPcopy Create free account
hub / github.com/MITK/MITK / GetLibraryPath_impl

Function GetLibraryPath_impl

Modules/CppMicroServices/src/usModuleUtils.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32#include <dlfcn.h>
33
34std::string GetLibraryPath_impl(void* symbol)
35{
36 Dl_info info;
37 if (dladdr(symbol, &info))
38 {
39 return info.dli_fname;
40 }
41 return "";
42}
43
44void* GetSymbol_impl(const ModuleInfo& moduleInfo, const char* symbol)
45{

Callers 1

GetLibraryPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected