def parse_mini(memory_decriptor, buff):
mms = MinidumpMemorySegment()<EOL>mms.start_virtual_address = memory_decriptor.StartOfMemoryRange<EOL>mms.size = memory_decriptor.Memory.DataSize<EOL>mms.start_file_address = memory_decriptor.Memory.Rva<EOL>mms.end_virtual_address = mms.start_virtual_address + mms.size<EOL>return mms<EOL>
memory_descriptor: MINIDUMP_MEMORY_DESCRIPTOR
buff: file_handle