hello guys ..
i m using pydbg to catch access violation ..
so code snippet of my access handler is ..
def access_handler_vio(self , pydbg):
if pydbg.dbg.u.Exception.dwFirstChance:
return DBG_EXCEPTION_NOT_HANDLED
#access Handler start Working ...
self.access_handler = True
print "[*][*] Woot! Handling an access violation!\n"
crash_bin = utils.crash_binning.crash_binning()
crash_bin.record_crash(pydbg)
self.crash = crash_bin.crash_synopsis()
.
.
.
.
return DBG_EXCEPTION_NOT_HANDLED
when exception appears .. then i got this error ...
return self.callbacks[EXCEPTION_ACCESS_VIOLATION](self)
File "fuzzer.py", line 297, in access_handler_vio
crash_bin.record_crash(pydbg)
File "c:\python27\utils\crash_binning.py", line 79, in record_crash
crash.disasm = pydbg.disasm(crash.exception_address)
File "c:\python27\pydbg\pydbg.py", line 719, in disasm
return "Unable to disassemble at %08x" % address
TypeError: %x format: a number is required, not NoneType
any help :)
thanks in advance







