diff options
| author | Josh Ferrell <josh@vector35.com> | 2025-09-15 22:45:34 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2025-09-15 22:45:34 -0400 |
| commit | eabcd1c6ec928cb596faa043199069ce1a167e4f (patch) | |
| tree | d67dac113f01c15ee3818628d4e74b0df14ded43 /plugins/warp/src/plugin | |
| parent | 4c1c8712f0e0a700fc7af5cf06f3425826ba9a2f (diff) | |
Deprecate some Rust MediumLevelILFunction methods in favor of Function implementations
Diffstat (limited to 'plugins/warp/src/plugin')
| -rw-r--r-- | plugins/warp/src/plugin/workflow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/warp/src/plugin/workflow.rs b/plugins/warp/src/plugin/workflow.rs index 47f4b2a7..9871f5d2 100644 --- a/plugins/warp/src/plugin/workflow.rs +++ b/plugins/warp/src/plugin/workflow.rs @@ -200,7 +200,7 @@ pub fn insert_workflow() -> Result<(), ()> { decl_instr.variable_for_stack_location_after(offset) } }; - if mlil.is_var_user_defined(&decl_var) { + if function.is_var_user_defined(&decl_var) { // Internally, analysis will just assign user vars to auto vars and consult only that. // So we must skip if there is a user-defined var at the decl. continue; @@ -217,7 +217,7 @@ pub fn insert_workflow() -> Result<(), ()> { let decl_name = variable .name .unwrap_or_else(|| function.variable_name(&decl_var)); - mlil.create_auto_var(&decl_var, &decl_ty, &decl_name, false) + function.create_auto_var(&decl_var, &decl_ty, &decl_name, false) } } } |
