From 7cce661170870b35e5b8b982f670ea5b5f878a32 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Tue, 1 Aug 2023 16:40:27 -0400 Subject: remove deprecation warning on mlilvar src --- python/mediumlevelil.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'python') diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 77d5abe3..1f122d2a 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -28,7 +28,6 @@ from dataclasses import dataclass from . import _binaryninjacore as core from .enums import MediumLevelILOperation, ILBranchDependence, DataFlowQueryOption, FunctionGraphType, DeadStoreElimination, ILInstructionAttribute from . import basicblock -from . import deprecation from . import function from . import types from . import lowlevelil @@ -1120,11 +1119,7 @@ class MediumLevelILLoad(MediumLevelILInstruction, Load): @dataclass(frozen=True, repr=False, eq=False) class MediumLevelILVar(MediumLevelILInstruction, VariableInstruction): @property - @deprecation.deprecated(deprecated_in="3.5.4403", details="Use `MediumLevelILVar.var` instead") def src(self) -> variable.Variable: - """ - This function is deprecated in favor of `.var` to make it more consistent with HighLevelILVar - """ return self._get_var(0) @property @@ -1420,11 +1415,7 @@ class MediumLevelILFtrunc(MediumLevelILUnaryBase, Arithmetic, FloatingPoint): @dataclass(frozen=True, repr=False, eq=False) class MediumLevelILVarSsa(MediumLevelILInstruction, SSAVariableInstruction): @property - @deprecation.deprecated(deprecated_in="3.5.4403", details="Use `MediumLevelILVarSsa.var` instead") def src(self) -> SSAVariable: - """ - This function is deprecated in favor of `.var` to make it more consistent with HighLevelILVarSsa - """ return self._get_var_ssa(0, 1) @property -- cgit v1.3.1