cea-sec / miasm

Reverse engineering framework in Python
https://miasm.re/
GNU General Public License v2.0
3.42k stars 470 forks source link

iOS armv7 thumb2 support #51

Open gradetwo opened 9 years ago

gradetwo commented 9 years ago

Can't disassembler apple's armv7 thumb2 binary (use armtl )

gradetwo commented 9 years ago

test asm: 00001720 push {r4, r5, r6, r7, lr} 00001722 add r7, sp, #0xc 00001724 push.w {r8, r10, r11} //this thumb2 instruction 00001728 sub.w sp, sp, #0x30c

serpilliere commented 9 years ago

Can you provide the bytes of your listing (from 1720 to 172a)?

gradetwo commented 9 years ago

bytes: F0 B5 03 AF 2D E9 00 0D AD F5 43 7D

gradetwo commented 9 years ago

pls check 《Thumb-2SupplementReferenceManual 》page 295

serpilliere commented 9 years ago

Everything is clear. There are very few Thumb-2 instructions implemented in Miasm. This Issue is categorized as enhancement.