Python idaapi.AST_ENABLE_ALWAYS Examples
The following are 11
code examples of idaapi.AST_ENABLE_ALWAYS().
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: x64dbgida.py From x64dbgida with MIT License | 5 votes |
def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS
Example #2
Source File: ghida.py From GhIDA with Apache License 2.0 | 5 votes |
def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS # ------------------------------------------------------------ # DECOMPILED VIEW -- POP-UP HANDLERS # ------------------------------------------------------------
Example #3
Source File: ghida.py From GhIDA with Apache License 2.0 | 5 votes |
def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS # ------------------------------------------------------------ # ScreenEAHook # ------------------------------------------------------------
Example #4
Source File: heap_viewer.py From heap-viewer with GNU General Public License v3.0 | 5 votes |
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 )
Example #5
Source File: IDAMagicStrings.py From idamagicstrings with GNU Affero General Public License v3.0 | 5 votes |
def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS #-------------------------------------------------------------------------------
Example #6
Source File: ida_prefix.py From prefix with MIT License | 5 votes |
def update(self, ctx): """ Ensure the context menu is always available in IDA. """ return idaapi.AST_ENABLE_ALWAYS #------------------------------------------------------------------------------ # Plugin Util #------------------------------------------------------------------------------
Example #7
Source File: mkyara_plugin.py From mkYARA with GNU General Public License v3.0 | 5 votes |
def generic_handler(callback): class Handler(idaapi.action_handler_t): def __init__(self): idaapi.action_handler_t.__init__(self) def activate(self, ctx): callback() return 1 def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS return Handler()
Example #8
Source File: ida_batch_decompile.py From ida-batch_decompile with GNU General Public License v3.0 | 5 votes |
def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS
Example #9
Source File: Stingray.py From Stingray with GNU General Public License v3.0 | 5 votes |
def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS # ------------------------------------------------------------------------------
Example #10
Source File: vxhunter_ida.py From vxhunter with BSD 2-Clause "Simplified" License | 5 votes |
def update(self, ctx): try: if ctx.form_type == idaapi.BWN_DISASM: return idaapi.AST_ENABLE_FOR_FORM else: return idaapi.AST_DISABLE_FOR_FORM except: # Add exception for main menu on >= IDA 7.0 return idaapi.AST_ENABLE_ALWAYS # context menu for Fix idb
Example #11
Source File: dereferencing.py From deREferencing with GNU General Public License v3.0 | 5 votes |
def update(self, ctx): return idaapi.AST_ENABLE_ALWAYS # -----------------------------------------------------------------------