From 4793365011024408570534500752595720571911 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Mon, 9 Feb 2026 20:57:17 -0500 Subject: Python API: Fix Platform.view_init It was passing the cffi object not the api object --- python/platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/platform.py b/python/platform.py index 59f2e527..aab00461 100644 --- a/python/platform.py +++ b/python/platform.py @@ -175,7 +175,7 @@ class Platform(metaclass=_PlatformMetaClass): def _view_init(self, ctxt, view): try: view_obj = binaryview.BinaryView(handle=core.BNNewViewReference(view)) - self.view_init(view) + self.view_init(view_obj) except: log_error_for_exception("Unhandled Python exception in Platform._view_init") -- cgit v1.3.1