4dsdev
Views: 613,917 Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 11-22-17 04:56 PM
Guest:

0 users reading Debugging ARM9 with IDA and Qemu problems | 1 bot

Main - Reverse-engineering - Debugging ARM9 with IDA and Qemu problems New reply


iamn1ck
Posted on 12-13-14 11:07 AM Link | #64
Hello, recently I've been trying to debug some of Kan49's archive posted a while back on GBAtemp. I am running IDA 6.1 with Qemu .11. I installed Qemu following this guide http://www.hexblog.com/?p=111.

Now my problem occurs when I start to debug a process. I can set break points in the code but when as soon as I start debugging it crashes. Very few files I have loaded have ever let me start the debug process, otherwise it crashes as soon as I continue past the first break.

I have a screen capture of what happens if it helps clarify my issue. Sorry for the quality, I thought it would be better.
https://www.dropbox.com/s/yfdns81yn754h4i/2014-12-13-0958-35.flv?dl=0

The second prompt when I start to debug says "Segment 'ROM' lies outside of valid memory regions. The program will likely fail to load or work properly. If possible, rebase the program or edit the memory map.

Any help would be greatly appreciated. Thanks

StapleButter
Posted on 12-13-14 11:28 AM Link | #65
Debugging is something I never tried to do with IDA, so I'm afraid I can't give much help there.

Regarding the "Segment 'ROM' lies outside of valid memory regions" part, you should check that your segments have the proper size defined. You may also need to manually add a BSS segment.

____________________
blargSNES -- SNES emu for 3DS
More cool stuff

iamn1ck
Posted on 12-15-14 07:09 PM Link | #67
I only get the "outside of valid memory regions" error with the arm9 ram dumps. I have tinkered around with some of the p3ds dumps he's made, but there is a lot to know about the 3ds memory layout. There are many dumps/leaked kernel files other than Kanes (st4rks cfw), but piecing it all together is very challenging.


Main - Reverse-engineering - Debugging ARM9 with IDA and Qemu problems New reply

Page rendered in 0.058 seconds. (2048KB of memory used)
MySQL - queries: 28, rows: 69/69, time: 0.047 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2017-11-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.