summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Snyder <ryan@vector35.com>2025-06-24 10:10:47 -0400
committerRyan Snyder <ryan@vector35.com>2025-06-24 11:04:24 -0400
commit6eac30d6885f0602e907ced87d35575f62da74b7 (patch)
treee8597f3c62e04514b32f533840435638f835b09f
parent799e3c7a23d5f7dea70ebbe7e7ad971bcd0ae155 (diff)
abb: temp workaround pending binding update
-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