def handleHookFuncShowCPU(self):
if self.hookedFunction() == False:
return
func = get_func(ScreenEA())
if func is None:
return
address = func.startEA;
if self.cpuContextViews.hasView(address) == False:
entry = self.idbHookMap[address]
newView = CPUContextView(self, entry.hook.id, entry.hook.symbol)
self.cpuContextViews.addView("CPU Context", newView)
self.cpuContextViews.setContent(entry.hook.id, {"arch":entry.arch, "context":entry.cpu_ctx})
self.cpuContextViews.showView(address)
评论列表
文章目录