From 46275f3367be969f3ce9f9264ad720bf83c2e0d1 Mon Sep 17 00:00:00 2001 From: Michael Krasnitski Date: Sun, 11 Feb 2024 21:28:33 -0500 Subject: Rename `LiftedConstantData` to `LiftedConstData` --- rust/src/mlil/instruction.rs | 2 +- rust/src/mlil/lift.rs | 2 +- rust/src/mlil/operation.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'rust/src/mlil') diff --git a/rust/src/mlil/instruction.rs b/rust/src/mlil/instruction.rs index a25a0859..e457c93e 100644 --- a/rust/src/mlil/instruction.rs +++ b/rust/src/mlil/instruction.rs @@ -737,7 +737,7 @@ impl MediumLevelILInstruction { Import(op) => Lifted::Import(op), ExternPtr(op) => Lifted::ExternPtr(op), - ConstData(op) => Lifted::ConstData(LiftedConstantData { + ConstData(op) => Lifted::ConstData(LiftedConstData { constant_data: ConstantData::new( self.function.get_function(), RegisterValue { diff --git a/rust/src/mlil/lift.rs b/rust/src/mlil/lift.rs index 15caad46..e9ae54bc 100644 --- a/rust/src/mlil/lift.rs +++ b/rust/src/mlil/lift.rs @@ -42,7 +42,7 @@ pub enum MediumLevelILLiftedInstructionKind { ConstPtr(Constant), Import(Constant), ExternPtr(ExternPtr), - ConstData(LiftedConstantData), + ConstData(LiftedConstData), Jump(LiftedJump), RetHint(LiftedJump), StoreSsa(LiftedStoreSsa), diff --git a/rust/src/mlil/operation.rs b/rust/src/mlil/operation.rs index eb0c01ea..637386d2 100644 --- a/rust/src/mlil/operation.rs +++ b/rust/src/mlil/operation.rs @@ -47,7 +47,7 @@ pub struct ConstData { pub size: usize, } #[derive(Clone, Debug, Hash, PartialEq)] -pub struct LiftedConstantData { +pub struct LiftedConstData { pub constant_data: types::ConstantData, } -- cgit v1.3.1