Beispiel #1
0
 def AddMenuElements(self):
     idaapi.add_menu_item("File/", "Code editor", "Alt-E", 0, self.popeye,
                          ())
     idaapi.set_menu_item_icon("File/Code editor",
                               idaapi.load_custom_icon(":/ico/python.png"))
 def AddMenuElements(self):
     idaapi.add_menu_item("File/", "Code editor", "Alt-E", 0, self.popeye, ())
     idaapi.set_menu_item_icon("File/Code editor", idaapi.load_custom_icon(":/ico/python.png"))
 def AddMenuElements(self):
     idaapi.add_menu_item("File/", "Geo", "ALT-G", 0, self.popeye, ())
     idaapi.set_menu_item_icon("File/Geo",
                               idaapi.load_custom_icon(":/ico/python.png"))
Beispiel #4
0
    def add_menu_items(self):
        # Add root level menu
        self._menu.add_menu("&DIE")

        # Load DieDB
        self.add_menu_item_helper("DIE/", "Load DieDB", "", self.load_db)
        idaapi.set_menu_item_icon("DIE/Load DieDB", self.icon_list["load"])
        # Save DieDB
        self.add_menu_item_helper("DIE/", "Save DieDB", "", self.save_db)
        idaapi.set_menu_item_icon("DIE/Save DieDB", self.icon_list["save"])
        # Debug Here
        self.add_menu_item_helper("DIE/", "Go from current location", "Alt+f",
                                  self.go_here)
        idaapi.set_menu_item_icon("DIE/Go from current location",
                                  self.icon_list["debug"])
        # Debug All
        self.add_menu_item_helper("DIE/", "Debug entire code", "Alt+g",
                                  self.go_all)
        idaapi.set_menu_item_icon("DIE/Debug entire code",
                                  self.icon_list["debug_all"])
        # Debug Custom
        self.add_menu_item_helper("DIE/", "Debug a custom scope", "Alt+c",
                                  self.show_scope_chooser)
        idaapi.set_menu_item_icon("DIE/Debug a custom scope",
                                  self.icon_list["debug_scope"])
        # Function View
        self.add_menu_item_helper("DIE/", "Function View", "",
                                  self.show_function_view)
        idaapi.set_menu_item_icon("DIE/Function View",
                                  self.icon_list["function_view"])
        # Value View
        self.add_menu_item_helper("DIE/", "Value View", "",
                                  self.show_value_view)
        idaapi.set_menu_item_icon("DIE/Value View",
                                  self.icon_list["value_view"])
        # Exception View
        self.add_menu_item_helper("DIE/", "Exceptions View", "",
                                  self.show_breakpoint_view)
        idaapi.set_menu_item_icon("DIE/Exceptions View",
                                  self.icon_list["exception_view"])
        # Parsers View
        self.add_menu_item_helper("DIE/", "Parsers View", "",
                                  self.show_parser_view)
        idaapi.set_menu_item_icon("DIE/Parsers View",
                                  self.icon_list["plugins"])
        # Parsers View
        self.add_menu_item_helper("DIE/", "Settings", "", self.show_settings)
        idaapi.set_menu_item_icon("DIE/Settings", self.icon_list["settings"])
        # About DIE
        self.add_menu_item_helper("DIE/", "About", "", self.show_about)
        idaapi.set_menu_item_icon("DIE/About", self.icon_list["die"])
        # Mark\Unmark Execution Flow
        self.add_menu_item_helper("DIE/", "Mark\Unmark Execution Flow", "",
                                  self.mark_exec_flow)
        # Show complete execution CFG
        self.add_menu_item_helper("DIE/", "Show CFG", "", self.show_cfg)
 def AddMenuElements(self):
     idaapi.add_menu_item("File/", "Screen Recorder", "Shift-R", 0, self.eyes, ())
     idaapi.set_menu_item_icon("File/Screen Recorder", idaapi.load_custom_icon(":/ico/python.png"))
Beispiel #6
0
    def add_menu_items(self):
        # Add root level menu
        self._menu.add_menu("&DIE")

        # Load DieDB
        self.add_menu_item_helper("DIE/", "Load DieDB", "", self.load_db)
        idaapi.set_menu_item_icon("DIE/Load DieDB", self.icon_list["load"])
        # Save DieDB
        self.add_menu_item_helper("DIE/", "Save DieDB", "", self.save_db)
        idaapi.set_menu_item_icon("DIE/Save DieDB", self.icon_list["save"])
        # Debug Here
        self.add_menu_item_helper("DIE/", "Go from current location", "Alt+f", self.go_here)
        idaapi.set_menu_item_icon("DIE/Go from current location", self.icon_list["debug"])
        # Debug All
        self.add_menu_item_helper("DIE/", "Debug entire code", "Alt+g", self.go_all)
        idaapi.set_menu_item_icon("DIE/Debug entire code", self.icon_list["debug_all"])
        # Debug Custom
        self.add_menu_item_helper("DIE/", "Debug a custom scope", "Alt+c",
                                  self.show_scope_chooser)
        idaapi.set_menu_item_icon("DIE/Debug a custom scope", self.icon_list["debug_scope"])
        # Function View
        self.add_menu_item_helper("DIE/", "Function View", "", self.show_function_view)
        idaapi.set_menu_item_icon("DIE/Function View", self.icon_list["function_view"])
        # Value View
        self.add_menu_item_helper("DIE/", "Value View", "", self.show_value_view)
        idaapi.set_menu_item_icon("DIE/Value View", self.icon_list["value_view"])
        # Exception View
        self.add_menu_item_helper("DIE/", "Exceptions View", "", self.show_breakpoint_view)
        idaapi.set_menu_item_icon("DIE/Exceptions View", self.icon_list["exception_view"])
        # Parsers View
        self.add_menu_item_helper("DIE/", "Parsers View", "", self.show_parser_view)
        idaapi.set_menu_item_icon("DIE/Parsers View", self.icon_list["plugins"])
        # Parsers View
        self.add_menu_item_helper("DIE/", "Settings", "", self.show_settings)
        idaapi.set_menu_item_icon("DIE/Settings", self.icon_list["settings"])
        # About DIE
        self.add_menu_item_helper("DIE/", "About", "", self.show_about)
        idaapi.set_menu_item_icon("DIE/About", self.icon_list["die"])
        # Mark\Unmark Execution Flow
        self.add_menu_item_helper("DIE/", "Mark\Unmark Execution Flow", "", self.mark_exec_flow)
        # Show complete execution CFG
        self.add_menu_item_helper("DIE/", "Show CFG", "", self.show_cfg)