From 0ce3b4a2417b77a75b5d35b7902bef8daaec42b7 Mon Sep 17 00:00:00 2001 From: Rubens Brandao Date: Thu, 9 May 2024 11:56:57 -0300 Subject: [PATCH] fix MediumLevelILFunction::is_var_user_defined parameter --- rust/src/mlil/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/mlil/function.rs b/rust/src/mlil/function.rs index 608d2507f..1c12b2c6b 100644 --- a/rust/src/mlil/function.rs +++ b/rust/src/mlil/function.rs @@ -137,7 +137,7 @@ impl MediumLevelILFunction { unsafe { BNDeleteUserVariable(self.get_function().handle, &var.raw()) } } - pub fn is_var_user_defined(self, var: &Variable) -> bool { + pub fn is_var_user_defined(&self, var: &Variable) -> bool { unsafe { BNIsVariableUserDefined(self.get_function().handle, &var.raw()) } }