public override void VisitDebugHeader (DebugHeader dbgHeader) { DebugHeader old = m_originalImage.DebugHeader; dbgHeader.Age = old.Age; dbgHeader.Characteristics = old.Characteristics; dbgHeader.FileName = old.FileName; dbgHeader.Signature = old.Signature; dbgHeader.TimeDateStamp = ImageInitializer.TimeDateStampFromEpoch(); dbgHeader.Type = old.Type; }
public override void VisitDebugHeader(DebugHeader dbgHeader) { DebugHeader old = m_originalImage.DebugHeader; dbgHeader.Age = old.Age; dbgHeader.Characteristics = old.Characteristics; dbgHeader.FileName = old.FileName; dbgHeader.Signature = old.Signature; dbgHeader.TimeDateStamp = ImageInitializer.TimeDateStampFromEpoch(); dbgHeader.Type = old.Type; }
internal PdbCciReader(ModuleDefinition module, string file) { DebugHeader header = module.Image.DebugHeader; if (header != null) { age = (int)header.Age; guid = header.Signature; } PopulateFunctions(file); }
void ResetImage(ModuleDefinition mod) { Image ni = Image.CreateImage(); if (mod.Image.DebugHeader != null) { ni.AddDebugHeader(); DebugHeader old = mod.Image.DebugHeader; ni.DebugHeader.Age = old.Age; ni.DebugHeader.Characteristics = old.Characteristics; ni.DebugHeader.FileName = old.FileName; ni.DebugHeader.Signature = old.Signature; ni.DebugHeader.TimeDateStamp = ImageInitializer.TimeDateStampFromEpoch(); ni.DebugHeader.Type = old.Type; } mod.Image = ni; }
public virtual void VisitDebugHeader(DebugHeader dh) { }
public virtual void VisitDebugHeader(DebugHeader dh) { }