Python源码示例:idaapi.action_handler_t()
示例1
def __init__(self):
idaapi.action_handler_t.__init__(self)
示例2
def __init__(self):
idaapi.action_handler_t.__init__(self)
示例3
def __init__(self, items):
idaapi.action_handler_t.__init__(self)
self.items = items
示例4
def __init__(self, items):
idaapi.action_handler_t.__init__(self)
self.items = items
示例5
def __init__(self, items):
idaapi.action_handler_t.__init__(self)
self.items = items
示例6
def __init__(self):
idaapi.action_handler_t.__init__(self)
# Say hello when invoked.
示例7
def __init__(self):
idaapi.action_handler_t.__init__(self)
# Say hello when invoked.
示例8
def __init__(self):
idaapi.action_handler_t.__init__(self)
# Say hello when invoked.
示例9
def __init__(self, fn):
idaapi.action_handler_t.__init__(self)
self.fn = fn
示例10
def __init__(self, action):
idaapi.action_handler_t.__init__(self)
self.action = action
示例11
def __init__(self):
idaapi.action_handler_t.__init__(self)
# Say hello when invoked.
示例12
def __init__(self):
idaapi.action_handler_t.__init__(self)
# Say hello when invoked.
示例13
def __init__(self, view):
idaapi.action_handler_t.__init__(self)
self.view = view
# Say hello when invoked.
示例14
def __init__(self, view):
idaapi.action_handler_t.__init__(self)
self.view = view
# Say hello when invoked.
示例15
def __init__(self, view):
idaapi.action_handler_t.__init__(self)
self.view = view
# Say hello when invoked.
示例16
def __init__(self):
idaapi.action_handler_t.__init__(self)
# Say hello when invoked.
示例17
def __init__(self):
idaapi.action_handler_t.__init__(self)
# Say hello when invoked.
示例18
def __init__(self):
self.funcs = {}
data = open('modules.txt', 'r').read()
data =data.split('\n')
for line in data:
if line != '':
temp = re.split('\s+', line)
self.funcs[int(temp[0],16)] = temp[-1]
idaapi.action_handler_t.__init__(self)
示例19
def __init__(self, callback):
idaapi.action_handler_t.__init__(self)
self.callback = callback
示例20
def __init__(brutal_self):
idaapi.action_handler_t.__init__(brutal_self)
示例21
def __init__(brutal_self):
idaapi.action_handler_t.__init__(brutal_self)
brutal_self.brutal_mode = '6.x'
示例22
def add_menus(self):
# To avoid creating multiple plugin_t instances
this = self
class StartHandler(idaapi.action_handler_t):
def __init__(self):
idaapi.action_handler_t.__init__(self)
def activate(self, ctx):
this.run()
return 1
def update(self, ctx):
return idaapi.AST_ENABLE_ALWAYS
act_name = '%s:start' % PLUGNAME
act_desc = idaapi.action_desc_t(
act_name, # The action name. Must be unique
PLUGNAME, # Action Text
StartHandler(), # Action handler
None, # Optional shortcut
'Start plugin', # Action tooltip
122 # Icon
)
idaapi.register_action(act_desc)
idaapi.attach_action_to_menu(
'Debugger/Debugger windows/',
act_name,
idaapi.SETMENU_APP
)
示例23
def __init__(self, outer_instance):
idaapi.action_handler_t.__init__(self)
self.outer_instance = outer_instance
示例24
def __init__(self, outer_instance):
idaapi.action_handler_t.__init__(self)
self.outer_instance = outer_instance
示例25
def __init__(self, outer_instance):
idaapi.action_handler_t.__init__(self)
self.outer_instance = outer_instance
示例26
def __init__(self, outer_instance):
idaapi.action_handler_t.__init__(self)
self.outer_instance = outer_instance
示例27
def __init__(self, outer_instance):
idaapi.action_handler_t.__init__(self)
self.outer_instance = outer_instance
示例28
def __init__(self, outer_instance):
idaapi.action_handler_t.__init__(self)
self.outer_instance = outer_instance
示例29
def __init__(self, outer_instance):
idaapi.action_handler_t.__init__(self)
self.outer_instance = outer_instance
示例30
def __init__(self, outer_instance):
idaapi.action_handler_t.__init__(self)
self.outer_instance = outer_instance