Go Back   Exetools > General > Community Tools


Thread Tools Display Modes
Old 12-26-2014, 19:58
sh3dow sh3dow is offline
Join Date: Oct 2014
Posts: 158
Rept. Given: 113
Rept. Rcvd 79 Times in 24 Posts
Thanks Given: 458
Thanks Rcvd at 202 Times in 75 Posts
sh3dow Reputation: 79
deci3dbg - Ida Pro debugger module for Playstation 3

Whoever used to debug on Playstation 3 knows that there is only one debugger available - SN Systems ProDG. It has some nice features (that I even miss in others debuggers) but overall... its not that good. There also was a gdb client but it was pulled around 1.xx sdk (specification changed, there is no more step cmd, etc). So after some time that I spent with ProDG I realized that it just dont works for me and decided to get host debugger to communicate with Ida. It would have allowed me to use all those nice features like scripts, plugins, tracing, leaving comments in place, interface and hotkeys to which I am used to over the years.

Okay, I hear that someone of you is asking why I did Ida module and not some kind of gdb proxy instead, and reasons are simple:

I already have experience of making gdb proxys and hosts, but not had experience of making Ida debugger modules (actually not much who did this)
Ida's gdb client is not open source
ppc gdb stub is buggy in 6.1. I do own the latest build of Ida Pro, but lets be honest here, most dont. So I was making this code around 6.1 version of Ida. Do not need to mention that Ida Pro 6.5 is backward compatible with 6.1, and even debugger module compiled with idasdk61 would work just fine (much better) with 6.5.
So I did it and it works pretty well. Was testing it for months, catching bugs. At the last time fixed some remaining bugs around half year ago, so it should be much better, but not used it much since then.
PHP Code:

    PPU debugging
and Float registers
BreakpointsStep thru code
    Hardware breakpoints 
Threads and Modules
/Write memory
    Works with official Sony
's Reference Tools and Debug Stations (DECR/DECH)
    Also works with custom firmwares 

It uses ProDG's TMAPI for communication over deci3 protocol with ps3. Its pretty good and even if deci3 specification docs are leaked its saved alot of time. Therefor, its supports only Windows platform.

Copy content of "C:\Program Files (x86)\SN Systems\PS3\sdk" of your ProDG installation to project folder


Copy deci3dbg.plw and deci3dbg.p64 to plugins folder inside your Ida Pro installation.

How to use

1- Load PPC binary in Ida Pro
2- Debugger -> Select debugger... -> DECI3 debugger plugin
3- Debugger -> Attach to process...
4- Select target and press OK (target may be showed as 'disconnected', bug of TMAPI)
5- Select process

PHP Code:
Reply With Quote
The Following 5 Users Gave Reputation+1 to sh3dow For This Useful Post:
demon_da (12-31-2014), emo (12-29-2014), Nukem (12-28-2014), TechLord (12-31-2014), zeuscane (12-27-2014)

debugger, ida pro plugin, playstation 3, ps3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IDA Processor module segmentation Git Developer Section 3 09-28-2023 04:51
Patching Module (DLL) in memory? FEARHQ General Discussion 5 01-06-2005 16:26

All times are GMT +8. The time now is 10:31.

Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )