Views: 1,609,055 | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 11-21-24 08:58 AM |
Guest: |
0 users reading Debugging ARM9 with IDA and Qemu problems | 1 bot |
Main - Reverse-engineering - Debugging ARM9 with IDA and Qemu problems | Hide post layouts | New reply |
iamn1ck |
| ||
Newcomer Normal user Level: 4 Posts: 1/2 EXP: 170 Next: 109 Since: 12-10-14 Last post: 3628 days ago Last view: 3626 days ago |
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 |
| ||
Member blarg Level: 30 Posts: 41/184 EXP: 151355 Next: 14514 Since: 10-27-14 From: France Last post: 2648 days ago Last view: 2558 days ago |
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 |
| ||
Newcomer Normal user Level: 4 Posts: 2/2 EXP: 170 Next: 109 Since: 12-10-14 Last post: 3628 days ago Last view: 3626 days ago |
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 | Hide post layouts | New reply |
Page rendered in 0.011 seconds. (2048KB of memory used) MySQL - queries: 26, rows: 67/67, time: 0.006 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |