'Generate, search, or write a cyclic pattern to memory
Set "pattern" option for basic/extended pattern type
Usage:
MYNAME create size [file]
MYNAME offset value
MYNAME search
MYNAME patch address size
MYNAME arg size1 [size2,offset2]
MYNAME env size[,offset]'

def pattern(self, *arg):

    options = ['create', 'offset', 'search', 'patch', 'arg', 'env']
    (opt,) = normalize_argv(arg, 1)
    if ((opt is None) or (opt not in options)):
        self._missing_argument()
    func = getattr(self, ('pattern_%s' % opt))
    func(*arg[1:])
    return
