Example #1
0
        public void Accept(IBinaryVisitor visitor)
        {
            visitor.VisitImage(this);

            m_dosHeader.Accept(visitor);
            m_peFileHeader.Accept(visitor);
            m_peOptionalHeader.Accept(visitor);

            m_sections.Accept(visitor);

            m_importAddressTable.Accept(visitor);
            m_cliHeader.Accept(visitor);

            if (m_debugHeader != null)
            {
                m_debugHeader.Accept(visitor);
            }

            m_importTable.Accept(visitor);
            m_importLookupTable.Accept(visitor);
            m_hintNameTable.Accept(visitor);

            visitor.TerminateImage(this);
        }