我试图在ida7.0中钩住0x403E65处的断点,但不幸的是,它无法到达方法DbgHook.dbg_bpt
,因此我的钩子没有用。提到这个demo,我真的不明白怎么了。你知道吗
ida_script.py.
from idaapi import *
chunks = {}
class DbgHook(DBG_Hooks):
def dbg_bpt(self, tid, ea):
global chunks
print "test"
chunks[GetRegValue("eax")] = GetRegValue("ebx")
continue_process()
return 0
try:
if debugger:
debugger.unhook()
except Exception as e:
pass
AddBpt(0x403E65)
debugger = DBG_Hooks()
debugger.hook()
request_start_process("C:\\Users\\win7\\Desktop\\codemap.exe", "", "")
run_requests()
如果它是已禁用的现有断点,则需要启用它。你知道吗
相关问题 更多 >
编程相关推荐