Talk:IDA Pro Setup

From The iPhone Wiki
Revision as of 20:31, 16 August 2008 by Caique2001 (talk | contribs) (house cleaning)
Jump to: navigation, search

prereqs.: IDA Pro Advanced, baseband files

wanted: Howto load these files correctly into IDA

Anybody to give this information here? TIA -caique2001-

Happy :-) ~geohot

into ida

I suggest you look more into IDA Pro, see how things work. you may not be ready for a baseband yet.

the most important thing you need is the address. for example, i knew the iBoot was at 0x18000000 because at the beginning there is a routine to look if it is there and relocate it if not. also it has many references to 0x1800000 throughout the file.

Here are some key combinations to use: c = turn the 'gibberish' into code d = turn the 'gibberish' into data a = turn the 'gibberish' into a string u = undefine what you just may have done, i usually use this since there is no real edit+undo in IDA so this is the next best thing Alt+G = change the 0 to a 1 to switch to thumb mode when needed

really i feel that you should do some more research on ARM and IDA Pro because a wiki article would not be enough to fully explain it


Maybe you can share some info with us MuscleNerd? -- Deco

offsets

For example, if you look into ICE2_01.45 using a hex editor, you will see starting 0x634 there contains the memory maps. It started at 0x20000000 and ends at 0x21000000 with sections in between doing its own thing. The code/data in the .fls starts at 0xCF8 indicated by location 0xCF4. The length of the code is indicated by the location at 0xCEC which amounts to 0x5E9E18.

So, you may want to load the data in the .fls file from 0xCF8 to 0X5EAB0F at offset 0x20000000 in IDA pro.

-- CPICH

Hey, you speak my language :-) Thanks -caique2001-