本文整理匯總了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