From ba14ad0890e5d77c0a1429b5035ed2b6647bcb9f Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 21 Mar 2024 21:24:20 +0100 Subject: [PATCH] Add compatibility function --- miasm/analysis/data_flow.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/miasm/analysis/data_flow.py b/miasm/analysis/data_flow.py index 5db4ce4ac..66743c8c4 100644 --- a/miasm/analysis/data_flow.py +++ b/miasm/analysis/data_flow.py @@ -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: