From 21258b2db51ad761727b8caa7bd775214dfdd7d0 Mon Sep 17 00:00:00 2001 From: Gert-Jan Goossens Date: Thu, 27 Jun 2024 13:44:54 +0200 Subject: [PATCH] Unify br and jump behaviour --- angr_platforms/msp430/instrs_msp430.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/angr_platforms/msp430/instrs_msp430.py b/angr_platforms/msp430/instrs_msp430.py index 2afa6ca..995fcde 100644 --- a/angr_platforms/msp430/instrs_msp430.py +++ b/angr_platforms/msp430/instrs_msp430.py @@ -658,7 +658,9 @@ def compute_result(self, src, dst): else: # If we're setting PC, but not from SP+, it's a BR instead self.jump(None, src) - return src + return None + else: + return src def negative(self, src, dst, ret): # pylint: disable=arguments-differ