From b3cc03be361d5c6253141e729b096e87e025490f Mon Sep 17 00:00:00 2001 From: Rubens Brandao Date: Mon, 27 May 2024 10:24:28 -0300 Subject: fix multiple memory leaks related to CStr/BnString --- rust/src/hlil/lift.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'rust/src/hlil/lift.rs') diff --git a/rust/src/hlil/lift.rs b/rust/src/hlil/lift.rs index 731a785c..300a7f1f 100644 --- a/rust/src/hlil/lift.rs +++ b/rust/src/hlil/lift.rs @@ -1,7 +1,9 @@ -use super::{operation::*, HighLevelILFunction}; +use super::operation::*; +use super::HighLevelILFunction; +use crate::architecture::CoreIntrinsic; use crate::rc::Ref; -use crate::types::{ConstantData, ILIntrinsic, SSAVariable, Variable}; +use crate::types::{ConstantData, SSAVariable, Variable}; #[derive(Clone)] pub enum HighLevelILLiftedOperand { @@ -11,7 +13,7 @@ pub enum HighLevelILLiftedOperand { Float(f64), Int(u64), IntList(Vec), - Intrinsic(ILIntrinsic), + Intrinsic(CoreIntrinsic), Label(GotoLabel), MemberIndex(Option), Var(Variable), -- cgit v1.3.1