How to use ghidra for remote debugging? #2652
Replies: 14 comments 2 replies
-
If 3ds includes a gdb stub compatible with 7.0 or greater, you can use the "GNU gdb over GADP" interface. |
Beta Was this translation helpful? Give feedback.
-
Uhhh I searched and I cannot find that. |
Beta Was this translation helpful? Give feedback.
-
Hmmm, well, from a Ghidra perspective, you're already there. To be clearer, you'll either need a program on the 3ds to act as a gdbserver (a gdbstub), something like Luma3ds, or a 3ds emulator w/ the equivalent, something like Citra. Once you have that, I would verify that you can connect via a current version of gdb. If you can, you have some shot of connecting with Ghidra. After that, I guess I would make sure you can build Ghidra by following the DevGuide.md provided. If everything is still good, you can switch to the debugger branch, build using the DebuggerDevGuide.md, and connect using one of the gdb connectors. |
Beta Was this translation helpful? Give feedback.
-
Okay, so I tried downloading gdb latest version and I can't build it. I can't figure out how. |
Beta Was this translation helpful? Give feedback.
-
You can download the most recent official release of GDB from either Project GNU's FTP server, or Red Hat's sources site: http://ftp.gnu.org/gnu/gdb (mirrors) |
Beta Was this translation helpful? Give feedback.
-
I'm sorry, I was not clear. I meant I downloaded the source and could not successfully build it. |
Beta Was this translation helpful? Give feedback.
-
I could only find old version at that link. I have v8.3.1 currently. |
Beta Was this translation helpful? Give feedback.
-
Okay, I downloaded the latest version from http://ftp.gnu.org/gnu/gdb and it ALMOST built.
What is causing this? |
Beta Was this translation helpful? Give feedback.
-
I'm confused - what architecture are you building on/for? |
Beta Was this translation helpful? Give feedback.
-
I'm on Windows 10? x84??? |
Beta Was this translation helpful? Give feedback.
-
yeah, that - just making sure. are you compiling from the mingw64 shell? (I do think you could save yourself a LOT of work by downloading a reasonably current version of MingW64 with the executable pre-compiled. Compiling gdb on Windows is really not for the faint of heart.) |
Beta Was this translation helpful? Give feedback.
-
My laptop with Parrot and Kali, has been hacked. Help.
El mié., 27 ene. 2021 5:16, SirEnder125 <[email protected]> escribió:
… After a while I finally understand ghidra a bit. But is there any 3ds
extensions?
To allow disassembly of .cia/.3ds files?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2652 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQDZK3DYVSMEEVEXSZJQBGDS36HTVANCNFSM4WUSHPFQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Are you successfully creating cheat ? 😄 |
Beta Was this translation helpful? Give feedback.
-
Hello. I recently downloaded ghidra to try to debug 3ds games and make cheats.
Can anyone tell me how to use remote debugging with ghidra?
Beta Was this translation helpful? Give feedback.
All reactions