From 5e8304172fc828af48377499a8fba725098f26f7 Mon Sep 17 00:00:00 2001 From: kat Date: Wed, 12 Jul 2023 09:05:15 -0400 Subject: Fix a failure that occured when passing load/BinaryView.load raw data --- python/binaryview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/binaryview.py') diff --git a/python/binaryview.py b/python/binaryview.py index cedb0160..24bfa469 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -2137,7 +2137,7 @@ class BinaryView: handle = core.BNLoadFilename(source, update_analysis, progress_cfunc, metadata.Metadata(options).handle) elif isinstance(source, bytes) or isinstance(source, bytearray) or isinstance(source, databuffer.DataBuffer): raw_view = BinaryView.new(source) - handle = core.BNLoadBinaryView(raw_view.handle, update_analysis, progress_cfunc, metadata.Metadata(options).handle) + handle = core.BNLoadBinaryView(raw_view.handle, update_analysis, progress_cfunc, metadata.Metadata(options).handle, False) else: raise NotImplementedError return BinaryView(handle=handle) -- cgit v1.3.1