plasma-disassembler / plasma

Plasma is an interactive disassembler for x86/ARM/MIPS. It can generates indented pseudo-code with colored syntax.
GNU General Public License v3.0
3.05k stars 275 forks source link

ARM support is unlikely #31

Closed pfalcon closed 9 years ago

pfalcon commented 9 years ago

Just build and1.bin and behold stuff like:

    0x8500: pop fp, pc
    if == {
        <$d>
        0x8504: r8 = r0 & (r4 << 11) # andeq r8, r0, r4, lsl #11
        0x8508: r8 = r0 & (r8 << 11) # andeq r8, r0, r8, lsl #11
        0x850c: r8 = r0 & (ip << 11) # andeq r8, r0, ip, lsl #11
    }

i.e. it can't even detect return from function.

Out of curiosity, what made you write your own such tool, did you try to reuse an existing one?

ghost commented 9 years ago

Ah yes, actually "pop pc" is not considered as a jump. I will fix it. This project was just a hobby and a personnal challenge ;)

ghost commented 9 years ago

Fixed on master, can you confirm please ? Thanks.

pfalcon commented 9 years ago

Looks better now, thanks.