-
I try Binary Ninja demo for my test cases and found that BN don't respect
How can I set override instruction flow to return or set end of the function? Version: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
Can you share the binary? |
Beta Was this translation helpful? Give feedback.
-
Doesn't answer for a long time mean it's not possible (overriding control flow)? |
Beta Was this translation helpful? Give feedback.
-
Analysis doesn't end the function because |
Beta Was this translation helpful? Give feedback.
-
Thank you for reporting the issue. We've decided to lift If you have a normal binaryninja license, please update to latest DEV release. Demo versions have to wait until STABLE release. 2022-03-11 EDIT: Change commit link to public arch-armv7 repo. |
Beta Was this translation helpful? Give feedback.
-
As of |
Beta Was this translation helpful? Give feedback.
Analysis doesn't end the function because
blx lr
is considered a call, despite lr being used as the destination operand. The instructionbx lr
is considered a return, and you can test it by assembling this instruction at 0x458 or patching in bytes "\x1e\xff\x2f\xe1".