GetFileDesc() private method

private GetFileDesc ( string name ) : ModuleFile
name string
return ModuleFile
示例#1
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal override sealed void Resolve(PEReader buff)
 {
     modFile = buff.GetFileDesc(name);
     if (modFile != null)
         modFile.fileModule = this;
 }
示例#2
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static void Read(PEReader buff, TableRow[] mods, bool resolve)
 {
     for (int i=0; i < mods.Length; i++) {
         string name = buff.GetString();
         ModuleRef mRef = new ModuleRef(name);
         if (resolve) mRef.modFile = buff.GetFileDesc(name);
         mods[i] = mRef;
     }
 }