|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
05Pzev
|
Post subject: Re: How To: Get started with IDA and disassembly Posted: Thu Feb 04, 2021 8:24 pm |
|
 |
| RomRaider Donator |
Joined: Sun Jan 03, 2016 10:05 am Posts: 217
|
|
Thanks - it looks like Home doesn't support Renesas SH and also that the home version is an annual license, not perpetual.
|
|
| Top |
|
 |
|
solidxsnake
|
Post subject: Re: How To: Get started with IDA and disassembly Posted: Thu Feb 04, 2021 10:23 pm |
|
 |
| Newbie |
Joined: Tue Jan 05, 2016 11:27 pm Posts: 64
|
|
You could try using Ghidra instead. Free and supports SuperH.
|
|
| Top |
|
 |
|
05Pzev
|
Post subject: Re: How To: Get started with IDA and disassembly Posted: Fri Feb 05, 2021 12:25 pm |
|
 |
| RomRaider Donator |
Joined: Sun Jan 03, 2016 10:05 am Posts: 217
|
|
Thanks, I am going to check it out, thanks.
|
|
| Top |
|
 |
|
nsfw
|
Post subject: Re: How To: Get started with IDA and disassembly Posted: Sat Feb 20, 2021 5:33 pm |
|
 |
| Moderator |
Joined: Wed Nov 22, 2006 10:23 pm Posts: 2565
|
|
I haven't switched over to Ghidra yet, but I intend to. The decompiler is really nice.
What's missing is a way to get all of the labels and comments out of my IDA projects and into Ghidra. I'm working on it though.
_________________ 2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!
|
|
| Top |
|
 |
|
solidxsnake
|
Post subject: Re: How To: Get started with IDA and disassembly Posted: Sun Feb 21, 2021 8:55 pm |
|
 |
| Newbie |
Joined: Tue Jan 05, 2016 11:27 pm Posts: 64
|
NSFW wrote: I haven't switched over to Ghidra yet, but I intend to. The decompiler is really nice.
What's missing is a way to get all of the labels and comments out of my IDA projects and into Ghidra. I'm working on it though. That's actually pretty straightforward. There's an IDAPro plug-in that comes with Ghidra that you can use to spit out an .xml file that Ghidra will read in to get all the names. See here: https://github.com/NationalSecurityAgen ... issues/180
|
|
| Top |
|
 |
|
nsfw
|
Post subject: Re: How To: Get started with IDA and disassembly Posted: Wed Mar 10, 2021 12:32 am |
|
 |
| Moderator |
Joined: Wed Nov 22, 2006 10:23 pm Posts: 2565
|
The only problem with that plugin is that it requires IDA Pro 6.2 and my copy is 6.1. If you (or anyone) has a 6.2 or later and would be willing to load three projects and convert them to Ghidra with the plugin, I'd be grateful...  I have one for my LGT, and two for my Corvette.
_________________ 2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!
|
|
| Top |
|
 |
|
solidxsnake
|
Post subject: Re: How To: Get started with IDA and disassembly Posted: Wed Mar 10, 2021 2:27 pm |
|
 |
| Newbie |
Joined: Tue Jan 05, 2016 11:27 pm Posts: 64
|
NSFW wrote: The only problem with that plugin is that it requires IDA Pro 6.2 and my copy is 6.1. If you (or anyone) has a 6.2 or later and would be willing to load three projects and convert them to Ghidra with the plugin, I'd be grateful...  I have one for my LGT, and two for my Corvette. Absolutely, shoot me a PM or msg on Slack, etc. It's the least I could do for all of your contributions!
|
|
| Top |
|
 |
|
snake2332
|
Post subject: Re: How To: Get started with IDA and disassembly Posted: Sat Apr 15, 2023 1:55 pm |
|
 |
| RomRaider Donator |
Joined: Fri Mar 07, 2008 11:29 am Posts: 54
|
Professwrx wrote: ilarson007 wrote: NSFW wrote: 6) Unfold the startup/reset code. The first 4 bytes of ROM are a pointer to the code that runs when the ECU is powered up. Jump to that location (AAC in the ROM I'm looking at) and press 'c' to mark it as 'code.' You'll see a small portion of the ROM disassembled. So, I will admit that I don't know the first thing about ROM disassembly. I am trying to open up the 710J (04 STi) ROM in Ida, and am stuck on this step... First of all, how long is 4 bytes in hex? Second, how do I determine where this pointer is pointing to? Open the Rom. While at the top click the rom address. press d three times. You should have made the first four bytes (8hex digits) clickable. Double click, press c. I'm currently stuck here. It feels like double-clicking the address is supposed to do something special, not just highlight it (?), like take you to the startup sequence which you are then supposed to mark as code. However, the address is just text and doesn't "take" me anywhere. It's not a XREF and "jump to operand" doesn't work. And trying to mark those 8 characters as code with the "c" key doesn't work either "Command 'MakeCode' Failed". Screenshot of what I'm talking about: https://imgur.com/a/uJxr2PYLooked for video tutorials and found none. No clue what to do at this point. Already ordered a new fuel pump and probably don't need to actually find the FPDC tables, but really want to be able to reverse-engineer ROMs since I have multiple open-source tuned Subarus. Thanks if anyone can help give a clue here! EDIT: If I highlight the entire row including the blanks and hit C, it prompts to do an analysis and prompts to clear existing data, then seems to return the view to the original (before changing with the D key).
|
|
| Top |
|
 |
|
rimwall
|
Post subject: Re: How To: Get started with IDA and disassembly Posted: Fri Apr 21, 2023 9:38 pm |
|
 |
| Experienced |
Joined: Fri Aug 21, 2020 6:05 am Posts: 315
|
|
Personally, if you are starting out, I would strongly recommend using Ghidra. I've used both and I find Ghidra far superior IMHO.
Not 100% sure but it looks like you might have the endian-ness the wrong way round? The first four bytes should become an address 0x00000B68. But that image is showing 0x680B0000 (ie: the reverse). When you double click it, it looks for an address 0x680B0000, which doesn't exist, so nothing happens. Subaru SuperH ROMs are 'big endian'
At address 0x00000B68 you will find the entry function in your ROM. Go there and press 'C' and it should turn into code (unless the wrong endian-ness causes more problems).
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|