Esempio n. 1
0
        void InspectInternal(PackedMemorySnapshot memory, System.UInt64 address, System.UInt64 size)
        {
            m_segment = new ArraySegment64 <byte>();
            if (address == 0)
            {
                return;
            }

            var heapIndex = memory.FindHeapOfAddress(address);
            var heap      = memory.managedHeapSections[heapIndex];

            m_segment = new ArraySegment64 <byte>(heap.bytes, address - heap.startAddress, size);

            m_hexView.Create(this, address, m_segment);
            Repaint();
        }
Esempio n. 2
0
        public void Inspect(PackedMemorySnapshot memory, System.UInt64 address, System.UInt64 size)
        {
            m_Segment = new ArraySegment64 <byte>();
            if (address == 0)
            {
                return;
            }

            var heapIndex = memory.FindHeapOfAddress(address);

            if (heapIndex < 0)
            {
                return;
            }

            var heap    = memory.managedHeapSections[heapIndex];
            var segment = new ArraySegment64 <byte>(heap.bytes, address - heap.startAddress, size);

            Inspect(memory, address, segment);
        }