Python gdb.COMMAND_USER Examples

The following are 20 code examples of gdb.COMMAND_USER(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module gdb , or try the search function .
Example #1
Source File: strongdb.py    From strongdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
            gdb.Command.__init__(self, 'color reg-value-highlight', gdb.COMMAND_USER) 
Example #2
Source File: command.py    From debugger-utils with MIT License 5 votes vote down vote up
def __init__(self):
        super(self.__class__, self).__init__("mv", gdb.COMMAND_USER) 
Example #3
Source File: salt.py    From salt with GNU General Public License v3.0 5 votes vote down vote up
def __init__ (self):
    super (salt, self).__init__ ("salt", gdb.COMMAND_USER)
    kmallocBP('__kmalloc', internal=True)
    kmallocSlabBP('kmalloc_slab', internal=True)
    kfreeBP('kfree')
    kmemCacheAllocBP('kmem_cache_alloc', internal=True)
    kmemCacheFreeBP('kmem_cache_free', internal=True)
    newSlabBP('new_slab', internal=True) 
Example #4
Source File: commands.py    From angrgdb with BSD 2-Clause "Simplified" License 5 votes vote down vote up
def __init__(self):
        super(
            AngrGDBResetCommand, self).__init__("angrgdb reset", gdb.COMMAND_USER) 
Example #5
Source File: commands.py    From angrgdb with BSD 2-Clause "Simplified" License 5 votes vote down vote up
def __init__(self):
        super(AngrGDBShellCommand, self).__init__("angrgdb shell", gdb.COMMAND_USER) 
Example #6
Source File: commands.py    From angrgdb with BSD 2-Clause "Simplified" License 5 votes vote down vote up
def __init__(self):
        super(AngrGDBCommand, self).__init__("angrgdb", gdb.COMMAND_USER, gdb.COMPLETE_NONE, True) 
Example #7
Source File: strongdb.py    From strongdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
            gdb.Command.__init__(self, 'color list', gdb.COMMAND_USER) 
Example #8
Source File: strongdb.py    From strongdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
            gdb.Command.__init__(self, 'color code-highlight', gdb.COMMAND_USER) 
Example #9
Source File: strongdb.py    From strongdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
            gdb.Command.__init__(self, 'color code', gdb.COMMAND_USER) 
Example #10
Source File: strongdb.py    From strongdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
            gdb.Command.__init__(self, 'color stack-data', gdb.COMMAND_USER) 
Example #11
Source File: gdb-pattern.py    From gdb_commands with GNU General Public License v2.0 5 votes vote down vote up
def __init__(self):
      super(GdbPatternCreateCommand, self).__init__ ("pattern_create", gdb.COMMAND_USER) 
Example #12
Source File: strongdb.py    From strongdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
            gdb.Command.__init__(self, 'color reg-value', gdb.COMMAND_USER) 
Example #13
Source File: strongdb.py    From strongdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
            gdb.Command.__init__(self, 'color reg-name', gdb.COMMAND_USER) 
Example #14
Source File: strongdb.py    From strongdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
            gdb.Command.__init__(self, 'color border', gdb.COMMAND_USER) 
Example #15
Source File: strongdb.py    From strongdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
        gdb.Command.__init__(self, 'color', gdb.COMMAND_USER, prefix=True)
        self.init_subcommands() 
Example #16
Source File: command_wrapper.py    From Pwngdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
        super(AngelHeapCmdWrapper,self).__init__("angelheap",gdb.COMMAND_USER) 
Example #17
Source File: pwngdb.py    From Pwngdb with GNU General Public License v3.0 5 votes vote down vote up
def __init__(self):
        super(PwngdbCmd,self).__init__("pwngdb",gdb.COMMAND_USER) 
Example #18
Source File: gdb-checksec.py    From gdb_commands with GNU General Public License v2.0 5 votes vote down vote up
def __init__ (self):
      super(GdbChecksecCommand, self).__init__ ("checksec", gdb.COMMAND_USER) 
Example #19
Source File: gdb-pattern.py    From gdb_commands with GNU General Public License v2.0 5 votes vote down vote up
def __init__(self):
    super(GdbPatternFindCommand, self).__init__("pattern_find", gdb.COMMAND_USER) 
Example #20
Source File: gdb-pattern.py    From gdb_commands with GNU General Public License v2.0 5 votes vote down vote up
def __init__(self):
      super(GdbPatternOffsetCommand, self).__init__ ("pattern_offset", gdb.COMMAND_USER)