Skip to content

Commit

Permalink
Add ir_arch deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
serpilliere committed Jan 7, 2021
1 parent 8dce07a commit ae9a47b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions miasm/jitter/jitload.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ def __init__(self, lifter, jit_type="gcc"):
self.init_exceptions_handler()
self.exec_cb = None

@property
def ir_arch(self):
warnings.warn('DEPRECATION WARNING: use ".lifter" instead of ".ir_arch"')
return self.lifter

def init_exceptions_handler(self):
"Add common exceptions handlers"

Expand Down

0 comments on commit ae9a47b

Please sign in to comment.