diff options
| author | Glenn Smith <glenn@vector35.com> | 2026-02-09 20:57:17 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2026-02-18 14:04:54 -0500 |
| commit | 4793365011024408570534500752595720571911 (patch) | |
| tree | edf31f4614f1e56888c6e146dc964fa2055929e6 /python/platform.py | |
| parent | 5730756389247485689220739604918825879535 (diff) | |
Python API: Fix Platform.view_init
It was passing the cffi object not the api object
Diffstat (limited to 'python/platform.py')
| -rw-r--r-- | python/platform.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |
