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/examples/debug_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/examples/debug_info.py') diff --git a/python/examples/debug_info.py b/python/examples/debug_info.py index a060e465..4f4328d3 100755 --- a/python/examples/debug_info.py +++ b/python/examples/debug_info.py @@ -222,7 +222,7 @@ for p in bn.debuginfo.DebugInfoParser: print(f" {bn.debuginfo.DebugInfoParser[p.name].name}") # Test calling our `is_valid` callback -bv = bn.open_view(filename, options={"analysis.debugInfo.internal": False}) +bv = bn.load(filename, options={"analysis.debugInfo.internal": False}) if parser.is_valid_for_view(bv): print("Parser is valid") else: -- cgit v1.3.1