[bin] initial version of get_preserved_libs