From b421487586ba42439b420cad29fc7d93d7eea630 Mon Sep 17 00:00:00 2001 From: Brandon Miller Date: Thu, 16 May 2024 09:08:21 -0400 Subject: Removed loader.architecture from py mapped view Also updated Python API docs references to loader.architecture --- python/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/__init__.py') diff --git a/python/__init__.py b/python/__init__.py index b7702569..fd4e1eaa 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -417,7 +417,7 @@ def load(*args, **kwargs) -> BinaryView: ... 134 - >>> with load(bytes.fromhex('5054ebfe'), options={'loader.architecture' : 'x86'}) as bv: + >>> with load(bytes.fromhex('5054ebfe'), options={'loader.platform' : 'x86'}) as bv: ... print(len(list(bv.functions))) ... 1 -- cgit v1.3.1