Python (FIXED)Add debugger to spu proccesor

Storm Shadow

Administrator
Staff member
Developer
Ida Pro Expert
Elite Cracker
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 .
 

Storm Shadow

Administrator
Staff member
Developer
Ida Pro Expert
Elite Cracker
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.
 

Storm Shadow

Administrator
Staff member
Developer
Ida Pro Expert
Elite Cracker
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:
C:\ida>type debuggers.idc

you should get return

Code:
#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:
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
 

Attachments

  • idc.rar
    87.8 KB · Views: 7
  • testspu.rar
    104 KB · Views: 7
Top