summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/architecture.py1
-rw-r--r--python/types.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py
index 8ce4b4f6..827d4bef 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -725,6 +725,7 @@ class Architecture(metaclass=_ArchitectureMetaClass):
def _analyze_basic_blocks(self, ctx, func, ptr_bn_bb_context):
try:
+ return core.BNArchitectureDefaultAnalyzeBasicBlocks(func, ptr_bn_bb_context)
bn_bb_context = ptr_bn_bb_context.contents
indirect_branches = []
for i in range(0, bn_bb_context.indirectBranchesCount):
diff --git a/python/types.py b/python/types.py
index 325ea12e..97663ff6 100644
--- a/python/types.py
+++ b/python/types.py
@@ -949,7 +949,7 @@ class PointerBuilder(TypeBuilder):
@property
def offset(self) -> int:
- """ Currently not used and has no effect (Leaving this in for compatibility)""""
+ """ Currently not used and has no effect (Leaving this in for compatibility)"""
return core.BNGetTypeBuilderOffset(self._handle)
@offset.setter