Handle EXIT_PROCESS_DEBUG_EVENT
(self, debug_event)
| 784 | winproxy.CloseHandle(create_process.hFile) |
| 785 | |
| 786 | def _handle_exit_process(self, debug_event): |
| 787 | """Handle EXIT_PROCESS_DEBUG_EVENT""" |
| 788 | self._update_debugger_state(debug_event) |
| 789 | exit_process = debug_event.u.ExitProcess |
| 790 | retvalue = self.on_exit_process(exit_process) |
| 791 | del self.threads[self.current_thread.tid] |
| 792 | del self._explicit_single_step[self.current_thread.tid] |
| 793 | del self._hardware_breakpoint[self.current_thread.tid] |
| 794 | del self._breakpoint_to_reput[self.current_thread.tid] |
| 795 | del self.processes[self.current_process.pid] |
| 796 | del self._watched_pages[self.current_process.pid] |
| 797 | del self._memory_save[self.current_process.pid] |
| 798 | del self._module_by_process[self.current_process.pid] |
| 799 | |
| 800 | cpid = self.current_process.pid |
| 801 | self.current_thread = None |
| 802 | self.current_process = None |
| 803 | |
| 804 | if self.target and cpid == self.target.pid: |
| 805 | self.target = None |
| 806 | return retvalue |
| 807 | |
| 808 | def _handle_create_thread(self, debug_event): |
| 809 | """Handle CREATE_THREAD_DEBUG_EVENT""" |
nothing calls this directly
no test coverage detected