Skip to content

Commit

Permalink
Add compatibility function
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Mar 21, 2024
1 parent 0eff902 commit ba14ad0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions miasm/analysis/data_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1949,6 +1949,14 @@ def may_interfere(self, dsts, src):
return True
return False

def may_interfer(self, dsts, src):
warnings.warn(
"Function `may_interfer` is deprecated, use `may_interfere` instead",
DeprecationWarning,
stacklevel=2,
)
return self.may_interfere(dsts, src)

def _get_representative_expr(self, expr):
representative = self.equivalence_classes.get_master(expr)
if representative is None:
Expand Down

0 comments on commit ba14ad0

Please # to comment.