Skip to content

Commit 48726a1

Browse files
committed
fix build on dev (and break on stable...)
1 parent e18dcd2 commit 48726a1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,9 @@ impl Command for SigFinderCommand {
989989

990990
#[no_mangle]
991991
pub extern "C" fn CorePluginInit() -> bool {
992-
binaryninja::logger::init(log::LevelFilter::Info);
992+
binaryninja::logger::Logger::new("coolsigmaker")
993+
.with_level(log::LevelFilter::Info)
994+
.init();
993995

994996
// TODO: (maybe) if signature not found, maybe go back a few instructions and attempt to create a signature with an offset.
995997
// 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.

0 commit comments

Comments
 (0)