during reserch of some library I found this kind of code
Dl_info info = {
NULL,
NULL,
NULL,
NULL
};
if (!dladdr((void*) dirSep, &info)) {
return libPath.c_str();
}
where dirSep
is static const char*
member in class where this code is present (in come member function), so my question is: is there any place documented that dladdr
function able get an info form static const member
field ?