• PS3 Hacks , 30.05.2014

    PS3 dev oct0xor has released deci3dbg, which is a Ida Pro debugger module for PlayStation 3, here is a quote from his blog:

     photo deci3dbg_zpsb8a247f8.png

    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 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 this 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.

    Source
    Follow oct0xor On Twitter

    Discuss in Forums (11)


  • 11 Comments

    1. xflarex
      05-30-2014
      11:19 AM
      1

      lol [MENTION=83916]The[/MENTION] current ida comment. So true, so true. Thanks oct0xor, I should really be keeping my eye on the scene more again, and thanks greg for front paging it so that I actually noticed. My eyes have been drooping as of late.

    2. zecoxao
      05-30-2014
      06:03 PM
      2

      this will greatly speed up the development of rpcs3 can't wait to try it out :D

    3. veritassdg
      05-30-2014
      08:50 PM
      3

      cant even get my ida to show it as a debugger o.o

    4. hellsing9
      05-30-2014
      09:00 PM
      4

      Originally Posted by veritassdg
      cant even get my ida to show it as a debugger o.o
      GDB with IDA.

    5. veritassdg
      05-30-2014
      09:07 PM
      5

      Originally Posted by hellsing9
      GDB with IDA.
      LoadLibrary(C:\Program Files (x86)\IDA PRO Advanced Edition\plugins\deci3dbg.plw) error: %1 is not a valid Win32 application.
      C:\Program Files (x86)\IDA PRO Advanced Edition\plugins\deci3dbg.plw: can't load file

    6. hellsing9
      05-30-2014
      09:08 PM
      6

      Originally Posted by veritassdg
      LoadLibrary(C:\Program Files (x86)\IDA PRO Advanced Edition\plugins\deci3dbg.plw) error: %1 is not a valid Win32 application.
      C:\Program Files (x86)\IDA PRO Advanced Edition\plugins\deci3dbg.plw: can't load file
      Check those dependencies, it's most likely trying to load a 32bit dll somewhere in your 64bit dll.

      http://www.osronline.com/showthread.cfm?link=239858

    7. veritassdg
      05-30-2014
      09:15 PM
      7

      Originally Posted by hellsing9
      Check those dependencies, it's most likely trying to load a 32bit dll somewhere in your 64bit dll.

      http://www.osronline.com/showthread.cfm?link=239858
      perhaps this is over my head cuz his blog says
      " Load PPC binary in Ida Pro
      Debugger -> Select debugger... -> DECI3 debugger plugin
      Debugger -> Attach to process...
      Select target and press OK (target may be showed as 'disconnected', bug of TMAPI)
      Select process"
      I load the .bin/,elf
      i go to debugger and theres not "select debugger" option when i use the drop down menu that show's "none or GDB " it should show the DECI3 debugger but it doesnt

    8. hellsing9
      05-30-2014
      09:23 PM
      8

      Originally Posted by veritassdg
      perhaps this is over my head cuz his blog says
      " Load PPC binary in Ida Pro
      Debugger -> Select debugger... -> DECI3 debugger plugin
      Debugger -> Attach to process...
      Select target and press OK (target may be showed as 'disconnected', bug of TMAPI)
      Select process"
      I load the .bin/,elf
      i go to debugger and theres not "select debugger" option when i use the drop down menu that show's "none or GDB " it should show the DECI3 debugger but it doesnt
      Checking that out, will report back.


      Update: [MENTION=263645]veritassdg[/MENTION] check by compiling it again:

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

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

    9. zadow28
      05-31-2014
      11:28 AM
      9

      oct0xor only made prebuild for ida 6.5 i rebuilded it for ida 6.1 here http://rghost.net/56042486 you have to have dex and TM(target manager) installed also.
      I cant test it i fried my ps3 ages ago, and bought a ps4.

    10. zecoxao
      05-31-2014
      11:49 AM
      10
    11. zadow28
      05-31-2014
      12:44 PM
      11

      i have made a new version that includes so that the debugger shows in SPU proccessor also,
      just extract in ida folder owerwrite the old ones.
      if you have spu.plw and spu.p64 in the plugins folder delete that and use this insteed.
      Python needed.
      proberly needs some more instruktions to the code. it uses the ps3tm API so could be that it will work also for spu.
      http://rghost.net/56044254