summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknowntrojan <14975032+unknowntrojan@users.noreply.github.com>2024-11-29 03:13:58 +0100
committerunknowntrojan <14975032+unknowntrojan@users.noreply.github.com>2024-11-29 03:13:58 +0100
commit48726a1d9d76568c82f2c1e9ecded7b34f5d4a85 (patch)
tree5b939f3db0ac19cb9f7e33eff97e28582a894453
parente18dcd27c587109f987356e4b1d8b10f12eca61b (diff)
fix build on dev (and break on stable...)
-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.