public static PefImportedLibrary Load(EndianByteImageReader rdr, PefLoaderStringTable loaderStringTable) { var lib = PEFImportedLibrary.Load(rdr); var name = loaderStringTable.ReadCString(lib.nameOffset); return(new PefImportedLibrary(lib, name)); }
public static PefExportedSymbol Load(PEFExportedSymbol sym, PefHashWord exportHash, PefLoaderStringTable stringTable) { var classAndName = new PefClassAndName(sym.classAndName); var name = stringTable.ReadString(classAndName.NameOffset, exportHash.NameLength); return(new PefExportedSymbol(classAndName, sym, name)); }