summaryrefslogtreecommitdiff
path: root/python/binaryview.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-10-27 07:33:08 -0400
committerPeter LaFosse <peter@vector35.com>2021-11-05 10:30:12 -0400
commit64797d7c23824a991fe6285a6a3bb0dcee2dd495 (patch)
treedd974f93a349a8486533f91c817f51ab9d8d8909 /python/binaryview.py
parent2386158d10d402b7783ab6f1253f548d230896c8 (diff)
Add IL class heirarchy graph report
Diffstat (limited to 'python/binaryview.py')
-rw-r--r--python/binaryview.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index c1bfde83..f049ae28 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -4443,6 +4443,8 @@ class BinaryView:
syms = core.BNGetSymbols(self.handle, count, _namespace)
assert syms is not None, "core.BNGetSymbols returned None"
else:
+ if length is None:
+ length = 1
syms = core.BNGetSymbolsInRange(self.handle, start, length, count, namespace)
assert syms is not None, "core.BNGetSymbolsInRange returned None"
result = []