diff options
| author | Michael Krasnitski <michael.krasnitski@gmail.com> | 2024-02-11 21:28:33 -0500 |
|---|---|---|
| committer | Kyle Martin <krm504@nyu.edu> | 2024-03-18 17:46:37 -0400 |
| commit | 46275f3367be969f3ce9f9264ad720bf83c2e0d1 (patch) | |
| tree | 165001b9b5c0891bef9fa913259143d318b5cb88 /rust/src | |
| parent | 044ddd5196ef42a7fd7ac7c11d93f3d8ecb1c4d2 (diff) | |
Rename `LiftedConstantData` to `LiftedConstData`
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/hlil/instruction.rs | 2 | ||||
| -rw-r--r-- | rust/src/hlil/lift.rs | 2 | ||||
| -rw-r--r-- | rust/src/hlil/operation.rs | 2 | ||||
| -rw-r--r-- | rust/src/mlil/instruction.rs | 2 | ||||
| -rw-r--r-- | rust/src/mlil/lift.rs | 2 | ||||
| -rw-r--r-- | rust/src/mlil/operation.rs | 2 |
6 files changed, 6 insertions, 6 deletions
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, } 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, } |
