From c4ba6d79ae3b96d56cc6b3744e7c64e004ecd161 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 21 Apr 2026 18:10:51 -0700 Subject: [Rust] Refactor `binary_view` module - Remove the "viral" `BinaryViewExt` trait and its blanket impl - Split up the binary view type from the custom trait impl - Simplify and fix bugs regarding custom binary view initialization - Rewrite Minidump binary view example, parses the PE headers to create proper sections now - Add some extra documentation - Add unit test for custom binary view --- plugins/warp/tests/determinism.rs | 1 - plugins/warp/tests/matcher.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/warp/tests') diff --git a/plugins/warp/tests/determinism.rs b/plugins/warp/tests/determinism.rs index 5100b436..50361562 100644 --- a/plugins/warp/tests/determinism.rs +++ b/plugins/warp/tests/determinism.rs @@ -1,5 +1,4 @@ //! This tests to make sure the function GUIDs are stable. -use binaryninja::binary_view::BinaryViewExt; use binaryninja::headless::Session; use std::collections::BTreeMap; use std::path::PathBuf; diff --git a/plugins/warp/tests/matcher.rs b/plugins/warp/tests/matcher.rs index d2d7a960..5703419b 100644 --- a/plugins/warp/tests/matcher.rs +++ b/plugins/warp/tests/matcher.rs @@ -1,5 +1,5 @@ use binaryninja::architecture::CoreArchitecture; -use binaryninja::binary_view::{BinaryView, BinaryViewExt}; +use binaryninja::binary_view::BinaryView; use binaryninja::file_metadata::FileMetadata; use binaryninja::function::Function as BNFunction; use binaryninja::headless::Session; -- cgit v1.3.1