本文整理汇总了Python中idaapi.del_menu_item方法的典型用法代码示例。如果您正苦于以下问题:Python idaapi.del_menu_item方法的具体用法?Python idaapi.del_menu_item怎么用?Python idaapi.del_menu_item使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类idaapi
的用法示例。
在下文中一共展示了idaapi.del_menu_item方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: term
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import del_menu_item [as 别名]
def term(self):
"""
Terminate plugin
"""
for context in self.menu_contexts:
idaapi.del_menu_item(context)
return None
示例2: remove
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import del_menu_item [as 别名]
def remove(self, option_groups):
if "enable" in option_groups:
if self.enable_menu_item:
idaapi.del_menu_item(self.enable_menu_item)
if "svn" in option_groups:
for x in self.svn_menuitems:
idaapi.del_menu_item(x)
self.svn_menuitems = []
if "full" in option_groups:
for x in self.ex_addmenu_item_ctx:
idaapi.del_menu_item(x)
self.ex_addmenu_item_ctx = []
示例3: term
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import del_menu_item [as 别名]
def term(self):
logger.debug("[+] %s.term()" % self.__class__.__name__)
if idaapi.IDA_SDK_VERSION < 700:
for menu in self.menuitems:
idaapi.del_menu_item(menu)
示例4: rm
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import del_menu_item [as 别名]
def rm(cls, path, name):
'''Remove the menu item at the specified `path` with the provided `name`.'''
res = cls.state[path, name]
idaapi.del_menu_item(res)
del cls.state[path, name]
示例5: term
# 需要导入模块: import idaapi [as 别名]
# 或者: from idaapi import del_menu_item [as 别名]
def term(self):
#idaapi.msg('apply_callee_type_plugin:term\n')
#if self.ex_addmenu_item_ctx is not None:
# idaapi.del_menu_item(ex_addmenu_item_ctx)
pass