diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-06-23 11:32:53 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-05 10:08:09 -0400 |
| commit | fd05425503a97950778899ad5c20a39069896760 (patch) | |
| tree | fba18a00d3c1fb3da60608c62611413801463930 /python/architecture.py | |
| parent | 920da93a153ff0e6cff405c76f6d5175a9cbcfa4 (diff) | |
fix issue when looking up branch type in Architecture._get_instruction_info
Diffstat (limited to 'python/architecture.py')
| -rw-r--r-- | python/architecture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py index 2d6fde0f..650f93a1 100644 --- a/python/architecture.py +++ b/python/architecture.py @@ -618,7 +618,7 @@ class Architecture(metaclass=_ArchitectureMetaClass): result[0].branchCount = len(info.branches) for i in range(0, len(info.branches)): if isinstance(info.branches[i].type, str): - result[0].branchType[i] = BranchType[info.branches[i].type] + result[0].branchType[i] = BranchType[info.branches[i].type.name] else: result[0].branchType[i] = info.branches[i].type result[0].branchTarget[i] = info.branches[i].target |
