summaryrefslogtreecommitdiff
path: root/python/__init__.py
diff options
context:
space:
mode:
authorBrandon Miller <brandon@vector35.com>2024-05-16 09:08:21 -0400
committerBrandon Miller <bkmiller89@icloud.com>2024-05-16 10:16:13 -0400
commitb421487586ba42439b420cad29fc7d93d7eea630 (patch)
treeea689f0351d72984a110a503ee521ecf259d9628 /python/__init__.py
parent5088febc53fb9f0d6496a410baf8b393befb845d (diff)
Removed loader.architecture from py mapped view
Also updated Python API docs references to loader.architecture
Diffstat (limited to 'python/__init__.py')
-rw-r--r--python/__init__.py2
1 files changed, 1 insertions, 1 deletions
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