Skip to content

Commit ae9a47b

Browse files
committed
Add ir_arch deprecation warning
1 parent 8dce07a commit ae9a47b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

miasm/jitter/jitload.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,11 @@ def __init__(self, lifter, jit_type="gcc"):
261261
self.init_exceptions_handler()
262262
self.exec_cb = None
263263

264+
@property
265+
def ir_arch(self):
266+
warnings.warn('DEPRECATION WARNING: use ".lifter" instead of ".ir_arch"')
267+
return self.lifter
268+
264269
def init_exceptions_handler(self):
265270
"Add common exceptions handlers"
266271

0 commit comments

Comments
 (0)