def register_actions(self): self.menu_actions.extend([ actions.MenuAction("-"), actions.MenuAction("switch_value", self.switch_value, "Switch value", None, "S", 104), actions.MenuAction("-") ]) actions.register_menu_actions(self)
def register_actions(self): self.menu_actions.extend([ actions.MenuAction("-"), actions.MenuAction("s_jump_disassembly", self.jump_in_disassembly, "Jump in disassembly", None, "J", 124), actions.MenuAction("s_jump_new_window", self.jump_in_new_window, "Jump in a new window", None, "Ctrl-J", 125), actions.MenuAction("s_jump_hex", self.jump_in_hex, "Jump in hex", None, "X", 89), actions.MenuAction("s_jump_to", self.jump_to, "Sync with expr", shortcut="G", icon=124), actions.MenuAction("s_stack_entries", self.set_stack_entries, "Stack entries"), actions.MenuAction("-"), ]) actions.register_menu_actions(self)
def register_actions(self): self.menu_actions.extend([ actions.MenuAction("-"), actions.MenuAction("jump_disassembly", self.jump_in_disassembly, "Jump in disassembly", None, "J", 124), actions.MenuAction("jump_new_window", self.jump_in_new_window, "Jump in a new window", None, "Ctrl-J", 125), actions.MenuAction("jump_hex", self.jump_in_hex, "Jump in hex", None, "X", 89), actions.MenuAction("modify_value", self.modify_value, "Modify value", None, "E", 104), actions.MenuAction("toggle_value", self.toggle_value, "Toggle value", None, "Alt-Space", 58), actions.MenuAction("inc_value", self.inc_reg, "Increment value", None, "+", 50), actions.MenuAction("dec_value", self.dec_reg, "Decrement value", None, "-", 51), actions.MenuAction("zero_value", self.zero_reg, "Zero value", None, "0", 123), actions.MenuAction("-"), actions.MenuAction("show_leyend", self.set_show_leyend, "Show leyend", None, None, checkable=config.show_leyend), actions.MenuAction("show_area_name", self.set_show_area_name, "Show area name", None, None, checkable=config.show_area_name), actions.MenuAction("deref_levels", self.set_deref_levels, "Dereferencing levels", None, None, always_enabled=True), actions.MenuAction("-"), ]) actions.register_menu_actions(self)