Python idaapi.del_menu_item() Examples

The following are 5 code examples of idaapi.del_menu_item(). 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 idaapi , or try the search function .
Example #1
Source File: fcatalog_plugin.py    From fcatalog_client with GNU General Public License v3.0 5 votes vote down vote up
def term(self):
        """
        Terminate plugin
        """
        for context in self.menu_contexts:
            idaapi.del_menu_item(context)
        return None 
Example #2
Source File: IDASynergy.py    From IDASynergy with MIT License 5 votes vote down vote up
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 = [] 
Example #3
Source File: ida_batch_decompile.py    From ida-batch_decompile with GNU General Public License v3.0 5 votes vote down vote up
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) 
Example #4
Source File: ui.py    From ida-minsc with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
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] 
Example #5
Source File: apply_callee_type_plugin.py    From flare-ida with Apache License 2.0 5 votes vote down vote up
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