Skip to content

Commit 4471615

Browse files
committed
CHB:ARM: account for conditional return with BX
1 parent 3f08ad7 commit 4471615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeHawk/CHB/bchlibarm32/bCHConstructARMFunction.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ let get_successors
163163
| Branch (_, op, _)
164164
| BranchExchange (_, op)
165165
when op#is_register && op#get_register = ARLR ->
166-
(next ())
166+
(next ()) @ [wordmax]
167167

168168
(* return via Move *)
169169
| Move (_, ACCAlways, dst, src, _, _)

0 commit comments

Comments
 (0)