MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / trigger

Method trigger

windows/debug/breakpoints.py:253–258  ·  view source on GitHub ↗
(self, dbg, exc)

Source from the content-addressed store, hash-verified

251 self.func = func
252
253 def trigger(self, dbg, exc):
254 thread = dbg.current_thread
255 format_dict = {"dbg": dbg, "exc": exc, "proc": dbg.current_process, "thread": thread, "ctx": thread.context}
256 if self.func:
257 format_dict.update(self.func(**format_dict))
258 print(self.format.format(**format_dict))

Calls 2

updateMethod · 0.80
funcMethod · 0.80

Tested by

no test coverage detected