def map_memory_callback(self, address, size, perms, name, offset, result):
logger.info('<STR_LIT:U+0020>'.join(("<STR_LIT>",<EOL>hex(address) if type(address) is int else "<STR_LIT>",<EOL>hr_size(size), "<STR_LIT:->",<EOL>perms, "<STR_LIT:->",<EOL>f"<STR_LIT>", "<STR_LIT>",<EOL>hex(result))))<EOL>self._emu.mem_map(address, size, convert_permissions(perms))<EOL>self.copy_memory(address, size)<EOL>
Catches did_map_memory and copies the mapping into Manticore