예제 #1
0
 internal void InitMetaDataOut(PEWriter file)
 {
     // tilde = new MetaDataStream(tildeNameArray,false,0);
     this.output = file;
     streams     = new MetaDataStream[5];
     strings     = new MetaDataStream(MetaData.stringsNameArray, new UTF8Encoding(), true);
     us          = new MetaDataStream(MetaData.usNameArray, new UnicodeEncoding(), true);
     guid        = new MetaDataStream(MetaData.guidNameArray, false);
     blob        = new MetaDataStream(MetaData.blobNameArray, new UnicodeEncoding(), true);
     streams[1]  = strings;
     streams[2]  = us;
     streams[3]  = guid;
     streams[4]  = blob;
 }
예제 #2
0
 internal void InitMetaDataOut(PEWriter file)
 {
     // tilde = new MetaDataStream(tildeNameArray,false,0);
     this.output = file;
     streams = new MetaDataStream[5];
     strings = new MetaDataStream(MetaData.stringsNameArray, new UTF8Encoding(), true);
     us = new MetaDataStream(MetaData.usNameArray, new UnicodeEncoding(), true);
     guid = new MetaDataStream(MetaData.guidNameArray, false);
     blob = new MetaDataStream(MetaData.blobNameArray, new UnicodeEncoding(), true);
     streams[1] = strings;
     streams[2] = us;
     streams[3] = guid;
     streams[4] = blob;
 }