# Path: voidwalker/framework/interface/command.py
# class PrefixCommand(Command):
#     def execute(self, terminal):
#         terminal.write('%(face-error)sAttempting to invoke an '
#                        'incomplete command!\n')
# 
# Path: voidwalker/framework/interface/command.py
# class StackCommand(Command):
#     __metaclass__ = abc.ABCMeta
# 
#     @abc.abstractmethod
#     def execute(self, config, terminal, thread, platform_factory, argument):
#         raise NotImplementedError
# 
# Path: voidwalker/framework/interface/command.py
# class SupportCommand(Command):
#     __metaclass__ = abc.ABCMeta
# 
#     @abc.abstractmethod
#     def execute(self, terminal, argument):
#         raise NotImplementedError
# 
# Path: voidwalker/framework/interface/command.py
# def register_command(cls):
#     _command_list.append(cls)
#     return cls
# 
# Path: voidwalker/framework/platform/cpu.py
# class Register(object):
#     class StaticRegister(type(register), object):
# class Cpu(object):
# class CpuFactory(object):
# class CpuRepository(object):
#     def __init__(self, name):
#     def name(self):
#     def size(self):
#     def value(self):
#     def str(self):
# def create_static_register(register):
#         def __init__(self, name):
#         def size(self):
#         def value(self):
#     def __init__(self, cpu_factory, registers):
#     def architecture(cls):
#     def register(self, name):
#     def registers(self):
#     def stack_pointer(self):
#     def program_counter(self):
#     def create_cpu(self, architecture):
#     def create_register(self, cpu, register):
#     def __init__(self, cpu_factory):
#     def get_cpu(self, architecture):
# def register_cpu(cls):
# 
# Path: voidwalker/application/commands/voidwalker.py
# class VoidwalkerCommand(PrefixCommand):
#     '''(void)walker is a GDB toolbox for low-level software debugging.
# 
# https://github.com/dholm/voidwalker'''
# 
#     @staticmethod
#     def name():
#         return 'voidwalker'
# 
#     def __init__(self):
#         super(VoidwalkerCommand, self).__init__()


from flowui.widgets import Section
from flowui.widgets.table import Cell
from flowui.widgets.table import Row
from flowui.widgets.table import Table
from ...framework.interface import PrefixCommand
from ...framework.interface import StackCommand
from ...framework.interface import SupportCommand
from ...framework.interface import register_command
from ...framework.platform import Architecture
from ..commands.voidwalker import VoidwalkerCommand
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.





@register_command
class PatchCommand(PrefixCommand):
    '''Commands for patching code'''

    @staticmethod
    def name():
        return '%s %s' % (VoidwalkerCommand.name(), 'patch')

    def __init__(self):
        super(PatchCommand, self).__init__()


@register_command

# Path: voidwalker/framework/interface/command.py
# class PrefixCommand(Command):
#     def execute(self, terminal):
#         terminal.write('%(face-error)sAttempting to invoke an '
#                        'incomplete command!\n')
# 
# Path: voidwalker/framework/interface/command.py
# class StackCommand(Command):
#     __metaclass__ = abc.ABCMeta
# 
#     @abc.abstractmethod
#     def execute(self, config, terminal, thread, platform_factory, argument):
#         raise NotImplementedError
# 
# Path: voidwalker/framework/interface/command.py
# class SupportCommand(Command):
#     __metaclass__ = abc.ABCMeta
# 
#     @abc.abstractmethod
#     def execute(self, terminal, argument):
#         raise NotImplementedError
# 
# Path: voidwalker/framework/interface/command.py
# def register_command(cls):
#     _command_list.append(cls)
#     return cls
# 
# Path: voidwalker/framework/platform/cpu.py
# class Register(object):
#     class StaticRegister(type(register), object):
# class Cpu(object):
# class CpuFactory(object):
# class CpuRepository(object):
#     def __init__(self, name):
#     def name(self):
#     def size(self):
#     def value(self):
#     def str(self):
# def create_static_register(register):
#         def __init__(self, name):
#         def size(self):
#         def value(self):
#     def __init__(self, cpu_factory, registers):
#     def architecture(cls):
#     def register(self, name):
#     def registers(self):
#     def stack_pointer(self):
#     def program_counter(self):
#     def create_cpu(self, architecture):
#     def create_register(self, cpu, register):
#     def __init__(self, cpu_factory):
#     def get_cpu(self, architecture):
# def register_cpu(cls):
# 
# Path: voidwalker/application/commands/voidwalker.py
# class VoidwalkerCommand(PrefixCommand):
#     '''(void)walker is a GDB toolbox for low-level software debugging.
# 
# https://github.com/dholm/voidwalker'''
# 
#     @staticmethod
#     def name():
#         return 'voidwalker'
# 
#     def __init__(self):
#         super(VoidwalkerCommand, self).__init__()


# Path: voidwalker/application/patching/interface.py
from flowui.widgets import Section
from flowui.widgets.table import Cell
from flowui.widgets.table import Row
from flowui.widgets.table import Table
from ...framework.interface import PrefixCommand
from ...framework.interface import StackCommand
from ...framework.interface import SupportCommand
from ...framework.interface import register_command
from ...framework.platform import Architecture
from ..commands.voidwalker import VoidwalkerCommand

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.





@register_command
class PatchCommand(PrefixCommand):
    '''Commands for patching code'''

    @staticmethod
    def name():
        return '%s %s' % (VoidwalkerCommand.name(), 'patch')

    def __init__(self):
        super(PatchCommand, self).__init__()


@register_command

class SnippetCommand(PrefixCommand):