prevent_jump

summary: prevent an action from being triggered

description:

Using ida_kernwin.UI_Hooks.preprocess_action, it is possible to respond to a command instead of the action that would otherwise do it.

level: beginner

Attributes

phh

Classes

prevent_jump_t

Module Contents

class prevent_jump.prevent_jump_t(_flags: int = 0, _hkcb_flags: int = 1)

Bases: ida_kernwin.UI_Hooks

preprocess_action(action_name)

ida ui is about to handle a user action.

Parameters:

name – (const char *) ui action name. these names can be looked up in ida[tg]ui.cfg

Returns:

0: ok

Returns:

nonzero: a plugin has handled the command

prevent_jump.phh