<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><br><span class="tab">    I thought the generic interface was not just for ELF but rather that it just wasn't yet implemented for COFF and mach-o. Then it would make sense to have it, wouldn't it?<br></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, August 11, 2014 3:53 PM, Rafael Espíndola <rafael.espindola@gmail.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">On 11 August 2014 11:16, Dimitar Dobrev
 <<a shape="rect" ymailto="mailto:dpldobrev@yahoo.com" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>> wrote:<br clear="none">><br clear="none">>     Thanks for the tip. It can be done but this way it's still more<br clear="none">> cumbersome than it used to be. It was just a loop with a call to getPath<br clear="none">> inside. Now I have to find the proper ELF type (because ELFFile is a<br clear="none">> template class) and then manually extract the dependencies. Those wrappers<br clear="none">> were extremely useful in delegating all this work. Are you sure there's no<br clear="none">> way we can restore these functions?<br clear="none"><br clear="none">I am sure we should not have a generic interface that only exits for<br clear="none">ELF. It could be a non virtual convenience method in ELFObjectFile as<br clear="none">long it is used in tree (by having ELFDumper use it for example), but<br
 clear="none">ELFObjectFile is also a template.<br clear="none"><br clear="none">If you are interested in improving the generic "ELFObjectFile is a<br clear="none">template" problem, one thing I *think* would work is to have a<br clear="none">non-template ELFObjectFileBase between ObjectFile and ELFObjectFile.<br clear="none">It would have virtual methods implemented by the ELFObjectFile<br clear="none">template, allowing users to choose between the convenience of virtual<br clear="none">dispatch or the efficiency of using the template.<div class="yqt2940312132" id="yqtfd24141"><br clear="none"><br clear="none">Cheers,<br clear="none">Rafael<br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>