示例#1
0
        public override void VisitImportAddressTable(ImportAddressTable iat)
        {
            if (m_image.PEOptionalHeader.DataDirectories.IAT.VirtualAddress == RVA.Zero)
            {
                return;
            }

            SetPositionToAddress(m_image.PEOptionalHeader.DataDirectories.IAT.VirtualAddress);

            iat.HintNameTableRVA = ReadRVA();
        }
示例#2
0
 internal Image()
 {
     m_dosHeader          = new DOSHeader();
     m_peFileHeader       = new PEFileHeader();
     m_peOptionalHeader   = new PEOptionalHeader();
     m_sections           = new SectionCollection();
     m_importAddressTable = new ImportAddressTable();
     m_importTable        = new ImportTable();
     m_importLookupTable  = new ImportLookupTable();
     m_hintNameTable      = new HintNameTable();
     m_mdRoot             = new MetadataRoot(this);
 }
示例#3
0
 public override void VisitImportAddressTable(ImportAddressTable iat)
 {
     m_textWriter.BaseStream.Position = 0;
     m_textWriter.Write(iat.HintNameTableRVA.Value);
     m_textWriter.Write(new byte [4]);
 }