summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/mlil/lift.rs4
-rw-r--r--rust/src/mlil/operation.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/mlil/lift.rs b/rust/src/mlil/lift.rs
index e9ae54bc..ba434d15 100644
--- a/rust/src/mlil/lift.rs
+++ b/rust/src/mlil/lift.rs
@@ -1,4 +1,4 @@
-use std::collections::HashMap;
+use std::collections::BTreeMap;
use crate::rc::Ref;
use crate::types::{ConstantData, ILIntrinsic, SSAVariable, Variable};
@@ -15,7 +15,7 @@ pub enum MediumLevelILLiftedOperand {
Float(f64),
Int(u64),
IntList(Vec<u64>),
- TargetMap(HashMap<u64, u64>),
+ TargetMap(BTreeMap<u64, u64>),
Var(Variable),
VarList(Vec<Variable>),
VarSsa(SSAVariable),
diff --git a/rust/src/mlil/operation.rs b/rust/src/mlil/operation.rs
index fdeaaf1b..822688a6 100644
--- a/rust/src/mlil/operation.rs
+++ b/rust/src/mlil/operation.rs
@@ -1,4 +1,4 @@
-use std::collections::HashMap;
+use std::collections::BTreeMap;
use crate::types::{ConstantData, ILIntrinsic, SSAVariable, Variable};
@@ -129,7 +129,7 @@ pub struct JumpTo {
#[derive(Clone, Debug, PartialEq)]
pub struct LiftedJumpTo {
pub dest: Box<MediumLevelILLiftedInstruction>,
- pub targets: HashMap<u64, u64>,
+ pub targets: BTreeMap<u64, u64>,
}
// GOTO