Forums >> IDA Pro >> Disassembling Motorola Coldfire ROM
Topic created on: June 13, 2013 05:19 CDT by astralmaster.
Hi, I have a .bin file compiled for Motorola Coldfire MCF5206 CPU. To start disassembling, I need to know the entry point of the .bin file. How can I find that for this CPU model?
> astralmaster: Hi, I have a .bin file compiled for Motorola Coldfire MCF5206 CPU. To start disassembling, I need to know the entry point of the .bin file. How can I find that for this CPU model?
Hi. Create .idc file and write:
#include <idc.idc>
static main() {
auto x,CodeLimit;
CodeLimit=0x7ffffff;
x=FindBinary(0x0,1,"4e56");
Jump(x);
Message(ltoa(x,16));
MakeCode(x);
Wait();
while ( x < CodeLimit )
{
x=FindBinary(x+2,1,"4e56");
Jump(x);
if (!x-((x / 2)*2))
{
Message(ltoa(x,16));
MakeCode(x);
Wait();
}
}
}
Then in IDA enter alt+f7 and run this file.
A firmware file is not the case of the famous slot machines? I do it for a year I pick to no avail))
Note: Registration is required to post to the forums.