mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
Fix QDB bug where prophecy target could be None
This commit is contained in:
@@ -244,8 +244,8 @@ class BranchPredictorARM(BranchPredictor, ArchARM):
|
||||
_, r = line.op_str.split(", ")
|
||||
prophecy.where = self.read_reg(r)
|
||||
|
||||
if prophecy.where & 1:
|
||||
prophecy.where -= 1
|
||||
if prophecy.where is not None:
|
||||
prophecy.where &= ~0b1
|
||||
|
||||
return prophecy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user