From 04bc6f11ae0289aae57d63d4cd32f4ef305d1a7a Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Thu, 29 Jun 2023 20:49:26 -0400 Subject: Move binary view loading in to the core; deprecate open_view in favor of load; update examples --- rust/src/headless.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/headless.rs') diff --git a/rust/src/headless.rs b/rust/src/headless.rs index c54e3ec9..0ce24cb3 100644 --- a/rust/src/headless.rs +++ b/rust/src/headless.rs @@ -90,7 +90,7 @@ pub fn shutdown() { /// Prelued-postlued helper function (calls [`init`] and [`shutdown`] for you) /// ```rust /// binaryninja::headless::script_helper(|| { -/// binaryninja::open_view("/bin/cat") +/// binaryninja::load("/bin/cat") /// .expect("Couldn't open `/bin/cat`") /// .iter() /// .for_each(|func| println!(" `{}`", func.symbol().full_name())); -- cgit v1.3.1