'Read content of memory at an address
Args:
- address: start address to read (Int)
- size: bytes to read (Int)
Returns:
- memory content (raw bytes)'

def readmem(self, address, size):

    mem = self.dumpmem(address, (address + size))
    if (mem is not None):
        return mem
    mem = ''
    out = self.execute_redirect(('x/%dbx    0x%x' % (size, address)))
    if out:
        for line in out.splitlines():
            bytes = line.split(': DCTB ')[(-1)].split()
            mem += ''.join([chr(int(c, 0)) for c in bytes])
    return mem
