title: dlsym -- get overridden symbol
body: <p>I have an application dynamically loading libraries which dynamically load libraries which...</p>
  
  <p>In Windows, I'm able to iterate over all loaded modules looking for the symbol I'm interested in. Don't know how to do that in Unix/Linux environment. I know I may use <code>dlsym(dlopen(0, flag))</code> or <code>dlsym(RTLD_DEFAULT / RTLD_NEXT)</code> for first two symbols and know the order of the modules to search in -- just how may I get deeper and get all definitions of given symbol?</p>