diff options
| author | Mason Reed <mason@vector35.com> | 2024-12-14 12:52:42 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-12-14 12:52:42 -0500 |
| commit | 82cd67b9313f249e12ee4fd248a40db9dc6b4a07 (patch) | |
| tree | cd55ff882cdb89b5766eaee571e21cfb2d40711f /plugins/warp/src/lib.rs | |
| parent | 5239ad6e8345e691fde31fd9f513fcf200e942aa (diff) | |
WARP: Run `cargo fmt`
Diffstat (limited to 'plugins/warp/src/lib.rs')
| -rw-r--r-- | plugins/warp/src/lib.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/warp/src/lib.rs b/plugins/warp/src/lib.rs index dee5d26b..add8b822 100644 --- a/plugins/warp/src/lib.rs +++ b/plugins/warp/src/lib.rs @@ -1,4 +1,3 @@ -use std::path::PathBuf; use binaryninja::architecture::{ Architecture, ImplicitRegisterExtend, Register as BNRegister, RegisterInfo, }; @@ -11,6 +10,7 @@ use binaryninja::llil::{ VisitorAction, }; use binaryninja::rc::Ref as BNRef; +use std::path::PathBuf; use warp::signature::basic_block::BasicBlockGUID; use warp::signature::function::constraints::FunctionConstraints; use warp::signature::function::{Function, FunctionGUID}; @@ -31,10 +31,7 @@ pub fn core_signature_dir() -> PathBuf { let install_dir = binaryninja::install_directory().unwrap(); // macOS core dir is separate from the install dir. #[cfg(target_os = "macos")] - let core_dir = install_dir - .parent() - .unwrap() - .join("Resources"); + let core_dir = install_dir.parent().unwrap().join("Resources"); #[cfg(not(target_os = "macos"))] let core_dir = install_dir; core_dir.join("signatures") |
