def parse(mod, buff):
mm = MinidumpUnloadedModule()<EOL>mm.baseaddress = mod.BaseOfImage<EOL>mm.size = mod.SizeOfImage<EOL>mm.checksum = mod.CheckSum<EOL>mm.timestamp = mod.TimeDateStamp<EOL>mm.name = MINIDUMP_STRING.get_from_rva(mod.ModuleNameRva, buff)<EOL>mm.endaddress = mm.baseaddress + mm.size<EOL>return mm<EOL>
mod: MINIDUMP_MODULE
buff: file handle