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/hlil/instruction.rs | 2 +- rust/src/hlil/lift.rs | 2 +- rust/src/hlil/operation.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'rust/src/hlil') diff --git a/rust/src/hlil/instruction.rs b/rust/src/hlil/instruction.rs index 6df49045..159652f1 100644 --- a/rust/src/hlil/instruction.rs +++ b/rust/src/hlil/instruction.rs @@ -744,7 +744,7 @@ impl HighLevelILInstruction { Const(op) => Lifted::Const(op), ConstPtr(op) => Lifted::ConstPtr(op), Import(op) => Lifted::Import(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/hlil/lift.rs b/rust/src/hlil/lift.rs index e993bcae..f8db34c5 100644 --- a/rust/src/hlil/lift.rs +++ b/rust/src/hlil/lift.rs @@ -99,7 +99,7 @@ pub enum HighLevelILLiftedInstructionKind { Const(Const), ConstPtr(Const), Import(Const), - ConstData(LiftedConstantData), + ConstData(LiftedConstData), Deref(LiftedUnaryOp), AddressOf(LiftedUnaryOp), Neg(LiftedUnaryOp), diff --git a/rust/src/hlil/operation.rs b/rust/src/hlil/operation.rs index a98a7d32..965d9517 100644 --- a/rust/src/hlil/operation.rs +++ b/rust/src/hlil/operation.rs @@ -198,7 +198,7 @@ pub struct ConstData { pub size: usize, } #[derive(Clone, Debug, PartialEq)] -pub struct LiftedConstantData { +pub struct LiftedConstData { pub constant_data: ConstantData, } -- cgit v1.3.1