diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2023-08-01 16:40:27 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2023-08-01 16:40:27 -0400 |
| commit | 7cce661170870b35e5b8b982f670ea5b5f878a32 (patch) | |
| tree | 5d5cc616bb1e788f5f823a70bfc24ea3c5aa50d6 /python | |
| parent | 23f099266fc5b804675d7c9f66a71d2b7d1b662f (diff) | |
remove deprecation warning on mlilvar src
Diffstat (limited to 'python')
| -rw-r--r-- | python/mediumlevelil.py | 9 |
1 files changed, 0 insertions, 9 deletions
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 |
