Beispiel #1
0
        public static PefImportedLibrary Load(EndianByteImageReader rdr, PefLoaderStringTable loaderStringTable)
        {
            var lib  = PEFImportedLibrary.Load(rdr);
            var name = loaderStringTable.ReadCString(lib.nameOffset);

            return(new PefImportedLibrary(lib, name));
        }
Beispiel #2
0
        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));
        }