From 6eac30d6885f0602e907ced87d35575f62da74b7 Mon Sep 17 00:00:00 2001 From: Ryan Snyder Date: Tue, 24 Jun 2025 10:10:47 -0400 Subject: abb: temp workaround pending binding update --- python/architecture.py | 1 + python/types.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'python') 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 -- cgit v1.3.1