mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
IDAPython for IDA 8.3
This commit is contained in:
@@ -18,8 +18,6 @@ keywords: actions
|
||||
see_also: add_hotkey
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_kernwin
|
||||
|
||||
class SayHi(ida_kernwin.action_handler_t):
|
||||
|
||||
@@ -16,8 +16,6 @@ keywords: actions
|
||||
see_also: actions
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_kernwin
|
||||
|
||||
def hotkey_pressed():
|
||||
|
||||
@@ -11,8 +11,6 @@ keywords: actions
|
||||
see_also: actions, add_hotkey
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_expr
|
||||
import ida_kernwin
|
||||
|
||||
|
||||
@@ -15,9 +15,6 @@ description:
|
||||
encoding, or as UTF-16.)
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
|
||||
import ida_kernwin
|
||||
import ida_bytes
|
||||
import ida_ida
|
||||
|
||||
@@ -16,9 +16,6 @@ keywords: coloring, idc
|
||||
see_also: colorize_disassembly_on_the_fly
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
|
||||
BG_BLUE = 0xc02020
|
||||
BG_GREEN = 0x208020
|
||||
BG_RED = 0x2020c0
|
||||
|
||||
@@ -101,12 +101,13 @@ class on_the_fly_coloring_hooks_t(ida_kernwin.UI_Hooks):
|
||||
del self.by_widget[title]
|
||||
|
||||
|
||||
class carousel_color_ah_t():
|
||||
class carousel_color_ah_t(ida_kernwin.action_handler_t):
|
||||
"""
|
||||
The action that will be invoked by IDA when the user
|
||||
activates its shortcut.
|
||||
"""
|
||||
def __init__(self, hooks):
|
||||
ida_kernwin.action_handler_t.__init__(self)
|
||||
self.hooks = hooks
|
||||
|
||||
def activate(self, ctx):
|
||||
|
||||
@@ -8,7 +8,6 @@ description:
|
||||
author: Gergely Erdelyi (gergely.erdelyi@d-dome.net)
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
#---------------------------------------------------------------------
|
||||
# Structure test
|
||||
#
|
||||
|
||||
@@ -9,7 +9,6 @@ description:
|
||||
It provides an example tab completion support.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
# -----------------------------------------------------------------------
|
||||
# This is an example illustrating how to implement a CLI
|
||||
#
|
||||
|
||||
@@ -11,8 +11,6 @@ description:
|
||||
one format for a specific 'custom data type'.)
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_bytes
|
||||
import ida_idaapi
|
||||
import ida_lines
|
||||
|
||||
@@ -9,8 +9,6 @@ description:
|
||||
the previous and next extra comments.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_lines
|
||||
import ida_kernwin
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@ description:
|
||||
`ida_gdl.FlowChart` type.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_gdl
|
||||
import ida_funcs
|
||||
import ida_kernwin
|
||||
|
||||
@@ -15,8 +15,6 @@ description:
|
||||
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_kernwin
|
||||
import ida_lines
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ description:
|
||||
`pow(3, 7)`
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_expr
|
||||
|
||||
if ida_expr.add_idc_func(
|
||||
|
||||
@@ -8,8 +8,6 @@ description:
|
||||
`ida_lines.user_defined_prefix_t` helper type.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_lines
|
||||
import ida_idaapi
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@ description:
|
||||
Using the API to enumerate file imports.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_nalt
|
||||
|
||||
nimps = ida_nalt.get_import_module_qty()
|
||||
|
||||
@@ -6,8 +6,6 @@ description:
|
||||
that were patched using IDA.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_bytes
|
||||
import ida_idaapi
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ keywords: xrefs
|
||||
see_also: list_segment_functions_using_idautils
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
#
|
||||
# Reference Lister
|
||||
#
|
||||
|
||||
@@ -13,7 +13,6 @@ keywords: xrefs
|
||||
see_also: list_segment_functions
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
#
|
||||
# Reference Lister
|
||||
#
|
||||
|
||||
@@ -9,7 +9,6 @@ description:
|
||||
see_also: show_selected_strings
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
import ida_nalt
|
||||
import idautils
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@ description:
|
||||
Register (possibly repeating) timers.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_kernwin
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
@@ -15,8 +15,6 @@ description:
|
||||
keywords: actions
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import ida_kernwin
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user