(self, addr, size)
return patches[::-1]
Retrieve all patches that cover a region specified by [addr, addr+size).

        :param int addr:    The address of the beginning of the region.
        :param int size:    Size of the region.
        :return:            A list of patches.
        :rtype:             list
Retrieve all patches that cover a region specified by [addr, addr+size).
Retrieve all patches that cover a region specified by [ addr addr + size ) .
def get_all_patches(self, addr, size):
        """
        Retrieve all patches that cover a region specified by [addr, addr+size).

        :param int addr:    The address of the beginning of the region.
        :param int size:    Size of the region.
        :return:            A list of patches.
        :rtype:             list
        """
        patches = [ ]
        for patch_addr in self._patches.irange(maximum=addr+size-1, reverse=True):
            p = self._patches[patch_addr]
            if self.overlap(p.addr, p.addr + len(p), addr, addr+size):
                patches.append(p)
            else:
                break
        return patches[::-1]
def get_all_patches ( self , addr , size ) : patches = [ ] for patch_addr in self . _patches . irange ( maximum = addr + size - 1 , reverse = True ) : p = self . _patches [ patch_addr ] if self . overlap ( p . addr , p . addr + len ( p ) , addr , addr + size ) : patches . append ( p ) else : break return patches [ : : - 1 ]