Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions qiling/debugger/qdb/branch_predictor/branch_predictor_arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from unicorn.arm_const import UC_ARM_REG_PC

from .branch_predictor import BranchPredictor, Prophecy
from ..arch import ArchARM
from ..arch import ArchARM, ArchCORTEX_M
from ..misc import InvalidInsn


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


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