summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
authorBrandon Miller <brandon@vector35.com>2026-01-29 08:02:39 -0500
committerBrandon Miller <brandon@vector35.com>2026-01-29 08:05:39 -0500
commita10b2f085b75e8681c6534c87a4c5b2ff4efe980 (patch)
treed89b40992af959cf79a574cd410afdc77756c2a9 /python/architecture.py
parent9154638116563015530687570074923214922938 (diff)
Fix Python exception in FunctionLifterContext
Diffstat (limited to 'python/architecture.py')
-rw-r--r--python/architecture.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/architecture.py b/python/architecture.py
index 2d085d9e..c941af8c 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -480,10 +480,10 @@ class FunctionLifterContext:
dest = function.ArchAndAddr(
CoreArchitecture._from_cache(bn_fl_context.indirectBranches[i].destArch),
- bn_fl_context.indirectBranches[i].dests[j].destAddr,
+ bn_fl_context.indirectBranches[i].destAddr,
)
- if bn_fl_context.indirectBranches[i].dests[j].isAutoDefined:
+ if bn_fl_context.indirectBranches[i].autoDefined:
if src not in auto_indirect_branches:
auto_indirect_branches[src] = set()
auto_indirect_branches[src].add(dest)