Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Commit e6841a9

Browse files
committed
IDAPython for IDA 8.3
1 parent c99b9db commit e6841a9

97 files changed

Lines changed: 3909 additions & 1536 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/core/actions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
see_also: add_hotkey
1919
"""
2020

21-
from __future__ import print_function
22-
2321
import ida_kernwin
2422

2523
class SayHi(ida_kernwin.action_handler_t):

examples/core/add_hotkey.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
see_also: actions
1717
"""
1818

19-
from __future__ import print_function
20-
2119
import ida_kernwin
2220

2321
def hotkey_pressed():

examples/core/add_idc_hotkey.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
see_also: actions, add_hotkey
1212
"""
1313

14-
from __future__ import print_function
15-
1614
import ida_expr
1715
import ida_kernwin
1816

examples/core/bin_search.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
encoding, or as UTF-16.)
1616
"""
1717

18-
from __future__ import print_function
19-
20-
2118
import ida_kernwin
2219
import ida_bytes
2320
import ida_ida

examples/core/colorize_disassembly.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
see_also: colorize_disassembly_on_the_fly
1717
"""
1818

19-
from __future__ import print_function
20-
21-
2219
BG_BLUE = 0xc02020
2320
BG_GREEN = 0x208020
2421
BG_RED = 0x2020c0

examples/core/colorize_disassembly_on_the_fly.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,13 @@ def carousel_color(self, viewer, title):
101101
del self.by_widget[title]
102102

103103

104-
class carousel_color_ah_t():
104+
class carousel_color_ah_t(ida_kernwin.action_handler_t):
105105
"""
106106
The action that will be invoked by IDA when the user
107107
activates its shortcut.
108108
"""
109109
def __init__(self, hooks):
110+
ida_kernwin.action_handler_t.__init__(self)
110111
self.hooks = hooks
111112

112113
def activate(self, ctx):

examples/core/create_structure_programmatically.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
author: Gergely Erdelyi (gergely.erdelyi@d-dome.net)
99
"""
1010

11-
from __future__ import print_function
1211
#---------------------------------------------------------------------
1312
# Structure test
1413
#

examples/core/custom_cli.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
It provides an example tab completion support.
1010
"""
1111

12-
from __future__ import print_function
1312
# -----------------------------------------------------------------------
1413
# This is an example illustrating how to implement a CLI
1514
#

examples/core/custom_data_types_and_formats.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
one format for a specific 'custom data type'.)
1212
"""
1313

14-
from __future__ import print_function
15-
1614
import ida_bytes
1715
import ida_idaapi
1816
import ida_lines

examples/core/dump_extra_comments.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
the previous and next extra comments.
1010
"""
1111

12-
from __future__ import print_function
13-
1412
import ida_lines
1513
import ida_kernwin
1614

0 commit comments

Comments
 (0)