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 --- python/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 97655e41..5df6f62a 100644 --- a/python/function.py +++ b/python/function.py @@ -337,7 +337,7 @@ class Function: The examples in the following code will use the following variables >>> from binaryninja import * - >>> bv = binaryninja.binaryview.BinaryViewType.get_view_of_file("/bin/ls") + >>> bv = load("/bin/ls") >>> current_function = bv.functions[0] >>> here = current_function.start """ -- cgit v1.3.1