summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 069bc75..fecc2dc 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -989,7 +989,9 @@ impl Command for SigFinderCommand {
#[no_mangle]
pub extern "C" fn CorePluginInit() -> bool {
- binaryninja::logger::init(log::LevelFilter::Info);
+ binaryninja::logger::Logger::new("coolsigmaker")
+ .with_level(log::LevelFilter::Info)
+ .init();
// TODO: (maybe) if signature not found, maybe go back a few instructions and attempt to create a signature with an offset.
// TODO: introduce a setting for "dumb" searches, where we also search non-executable segments for uniqueness, incase the user doesn't want to check the segments before scanning them.