* gen 2.4 source * test dir in python 2.4 run test_listComprehensions list two level not support use compiler module compile decompile--ok verfily last ; <==> LOAD_CONST POP_TOP use build in compile * test suite * log * 2.4 how to gen pyc
readme.txt: 1. copy ollypy.py,ollyhelper.py to your python2.4's lib directory. 2. copy _ollypy.dll to your python2.4's DLLs directory 3. copy ollypython.dll,ollypy.dll to your ollydbg's plugin directory , when ollydbg haven't a plugin dir, put to ollydbg dir. 4. use tests/*.py and tests/crash.exe(being debugged ) to test the plugin . 5. see tests/*.py and ollydbg plugin api help v1.10 to get the funcs using method.
a sample:
from ollyhelper import *
eax = GetReg("EAX")
Addtolist(0,-1,"eax = %d "%(eax))
ss = GetReg("ss")
Addtolist(0,-1,"ss = 0x%x "%(ss))
cs = GetReg("cs")
Addtolist(0,-1,"cs = 0x%x "%(cs))
SetReg("eax", 0xffffffff) eax = GetReg("EAX")
Addtolist(0,-1,"eax = 0x%x "%(eax))
asml,err = SetAsm(0x416719,"mov eax,[0044b500]") size,asmd = GetAsm(0x416719) Addtolist(0,-1,"asm = %s,size = %d"%(asmd,size)) memlist = Readmem(0x416719,50) Addtolist(0,-1,"memlist = %s"%(memlist)) memlist[2]=0xff code = "" for i in range(len(memlist)): code+=chr(memlist)