Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumb2 BL disassembly broken #15

Closed
yifanlu opened this issue Nov 3, 2016 · 0 comments
Closed

Thumb2 BL disassembly broken #15

yifanlu opened this issue Nov 3, 2016 · 0 comments

Comments

@yifanlu
Copy link
Contributor

yifanlu commented Nov 3, 2016

(Dup of yifanlu#1)

Sample sequence (test.bin)

FF F7 54 FF 00 BF 00 BF 70 47

Disassembly

   0:	f7ff ff54 	bl	0xfffffeac
   4:	bf00      	nop
   6:	bf00      	nop
   8:	4770      	bx	lr

./test-transform-dis-thumb2 manual 8 1 < test.bin produces

#if 0
transform_dis (0x10000): branch => 0xfe80fd54
transform_dis (0x10000): >> op_size=4 newop_size=4
=> 3
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant