node/lib/metasm/samples/dbg-plugins/heapscan/heapscan.rb
def scan_chunks_xr
		@xrchunksto = {}
		@xrchunksfrom = {}
		each_heap { |a, l, ar|
			scan_heap_xr(a, l)
		}
		@mmapchunks.each { |a|
			scan_mmap_xr(a, @chunks[a])
		}
	end
# scan all chunks for cross-references (one chunk contaning a pointer to some other chunk)
scan all chunks for cross-references (one chunk contaning a pointer to some other chunk)
scan all chunks for cross - references ( one chunk contaning a pointer to some other chunk )
def scan_chunks_xr
		@xrchunksto = {}
		@xrchunksfrom = {}
		each_heap { |a, l, ar|
			scan_heap_xr(a, l)
		}
		@mmapchunks.each { |a|
			scan_mmap_xr(a, @chunks[a])
		}
	end
def scan_chunks_xr @xrchunksto = { } @xrchunksfrom = { } each_heap { | a , l , ar | scan_heap_xr ( a , l ) } @mmapchunks . each { | a | scan_mmap_xr ( a , @chunks [ a ] ) } end
scan all chunks for cross-references (one chunk contaning a pointer to some other chunk)
scan all chunks for cross - references ( one chunk contaning a pointer to some other chunk )