Page 1 of 1

Disassembling using arm-eabi-objdump.exe

Posted: Fri Oct 30, 2009 4:09 pm
by phanimvs
Hi,

I am trying to disassemble the ARM binaries of DSI using arm-eabi-objdump.exe.

It returns error "File Format Not Recognized"

Does devkitarm support ARM7 and ARM9 architectures.

It there any other arm compiler that can disassemble DSI bin files and dump the structures.

Thanks,
Phani

Re: Disassembling using arm-eabi-objdump.exe

Posted: Fri Oct 30, 2009 4:58 pm
by StevenH
phanimvs wrote:Hi,

I am trying to disassemble the ARM binaries of DSI using arm-eabi-objdump.exe.

It returns error "File Format Not Recognized"

Does devkitarm support ARM7 and ARM9 architectures.

It there any other arm compiler that can disassemble DSI bin files and dump the structures.

Thanks,
Phani
<Serious mode OFF>
If devkitARM did not support ARM7 and ARM9 then you would not be able to create anything for the DS.
<Serious mode ON>

Taking into account that there's 2 ARM7 and ARM9 files in the nds rom, and that the only tool that I know to extract the actual code for the two CPU's does not extract the DSi versions, there's not a lot you can do at the moment.

And when you say "disassemble the ARM binaries of DSI" do you mean the ARM7 and ARM9 compiled code of a DSi game or are you on about something else, like the game's assets?

I'm not familular with the objdump code but I think it only works with .o files not the end product of the linkers...

Re: Disassembling using arm-eabi-objdump.exe

Posted: Mon Nov 02, 2009 2:51 am
by phanimvs
Hi,

<StevenH>
And when you say "disassemble the ARM binaries of DSI" do you mean the ARM7 and ARM9 compiled code of a DSi game or are you on about something else, like the game's assets?
</StevenH>

Copied the binaries of DSI gaming bins from the DSI main memory using the Data management tool onto the SD card. Then try disassembling it using arm-eabi-objdump.exe

Is there any tool that can disassemble the final linked DSI bin's.

Thanks,
Phani

Re: Disassembling using arm-eabi-objdump.exe

Posted: Mon Nov 02, 2009 9:06 am
by StevenH
No, those binaries are encypted using an sha1 algo (I think that's the algo used) - so you can't do anything with them.

And if you want the key join the queue, people have been trying, and failing, to crack that code since the DSi came out.