Skip to content

Commit 58487ee

Browse files
committed
Add missing CortexM base class
1 parent 0594a52 commit 58487ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiling/debugger/qdb/branch_predictor/branch_predictor_arm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from unicorn.arm_const import UC_ARM_REG_PC
1818

1919
from .branch_predictor import BranchPredictor, Prophecy
20-
from ..arch import ArchARM
20+
from ..arch import ArchARM, ArchCORTEX_M
2121
from ..misc import InvalidInsn
2222

2323

@@ -261,6 +261,6 @@ def __is_taken(cc: int) -> Tuple[bool, Tuple[bool, ...]]:
261261
return Prophecy(going, where)
262262

263263

264-
class BranchPredictorCORTEX_M(BranchPredictorARM):
264+
class BranchPredictorCORTEX_M(BranchPredictorARM, ArchCORTEX_M):
265265
"""Branch Predictor for ARM Cortex-M.
266266
"""

0 commit comments

Comments
 (0)