From 48726a1d9d76568c82f2c1e9ecded7b34f5d4a85 Mon Sep 17 00:00:00 2001 From: unknowntrojan <14975032+unknowntrojan@users.noreply.github.com> Date: Fri, 29 Nov 2024 03:13:58 +0100 Subject: fix build on dev (and break on stable...) --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') 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. -- cgit v1.3.1