Skip to content

Commit

Permalink
fix MediumLevelILFunction::is_var_user_defined parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
rbran committed May 9, 2024
1 parent 99fa98f commit 0ce3b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/mlil/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()) }
}

Expand Down

0 comments on commit 0ce3b4a

Please sign in to comment.