Want to Join Us ?

you'll be able to discuss, share and send private messages.

Python (FIXED)Add debugger to spu proccesor

Discussion in 'Debuggers' started by storm shadow, Feb 18, 2014.

Share This Page

  1. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    the spu module is intirely writin in python , any one knows if its possible to add a remote gdb debugger to a python module.As of now the spu dont load any debugger .
     
  2. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    i could realyy use some input on this,im pretty lost i was thinking off adding the remote gdb debugger to the spu python processer.
    I only need to have the remote gdb debugger appear when a spu file is loaded.
     
  3. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    mmmh

    i did made some prosses.

    first set your path invirement setting proberly and add your IDA dir to PATH


    copy idascript.exe to ida folder
    copy idc.idc to ida\idc folder
    copy idcscript.idc top ida\idc folder
    copy debuggers.idc to ida folder.

    open test file spu prosessor file.Open with prossecor SPU.

    you see no debuggers.
    thats okay now save as >>>> storm.idb

    Open command prompt , remember to have putted the envireble setting correct

    go to where you saved the idb file.

    type
    Code (Text):
    C:\ida>type debuggers.idc
     
    you should get return

    Code (Text):
    #include <idc.idc>
    #include "idascript.idc"
     
    //-----------------------------------------
    static main()
    {
      InitUtils();
     
      Print(("Give me the Debuggers!\n"));
     
      auto i;
      for (i=1;i<ARGV.count;i++)
        Print(("ARG[%d]=%s\n", i, ARGV[i]));
     
      Quit(0);
    }

    now type
    Code (Text):
    C:\ida>idaq -Sdebuggers.idc storm.idb
    ida should open
    it could also open and then close, if it does open ida normally and choose the saved idb file you ran the command on.


    There sould be a option for debuggers now :D



    for some reason there isent remote GDB
     

    Attached Files:

    Rip Cord likes this.
  4. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    LOL the fix turns out to be so easy, but the way there was so hard.
     
    Rip Cord likes this.
  5. Nihilus

    Well-Known Member Developer

Top