Interface to a thread in another process. @group Properties: get_tid, get_pid, get_process, set_process, get_exit_code, is_alive, get_name, set_name, get_windows, get_teb, get_teb_address, is_wow64, get_arch, get_bits, get_handle, open_handle, close_handle @gro
| 61 | |
| 62 | |
| 63 | class Thread(object): |
| 64 | """ |
| 65 | Interface to a thread in another process. |
| 66 | |
| 67 | @group Properties: |
| 68 | get_tid, get_pid, get_process, set_process, get_exit_code, is_alive, |
| 69 | get_name, set_name, get_windows, get_teb, get_teb_address, is_wow64, |
| 70 | get_arch, get_bits, get_handle, open_handle, close_handle |
| 71 | |
| 72 | @group Instrumentation: |
| 73 | suspend, resume, kill, wait |
| 74 | |
| 75 | @group Debugging: |
| 76 | get_seh_chain_pointer, set_seh_chain_pointer, |
| 77 | get_seh_chain, get_wait_chain, is_hidden |
| 78 | |
| 79 | @group Disassembly: |
| 80 | disassemble, disassemble_around, disassemble_around_pc, |
| 81 | disassemble_string, disassemble_instruction, disassemble_current |
| 82 | |
| 83 | @group Stack: |
| 84 | get_stack_frame, get_stack_frame_range, get_stack_range, |
| 85 | get_stack_trace, get_stack_trace_with_labels, |
| 86 | read_stack_data, read_stack_dwords, read_stack_qwords, |
| 87 | peek_stack_data, peek_stack_dwords, peek_stack_qwords, |
| 88 | read_stack_structure, read_stack_frame |
| 89 | |
| 90 | @group Registers: |
| 91 | get_context, |
| 92 | get_register, |
| 93 | get_flags, get_flag_value, |
| 94 | get_pc, get_sp, get_fp, |
| 95 | get_cf, get_df, get_sf, get_tf, get_zf, |
| 96 | set_context, |
| 97 | set_register, |
| 98 | set_flags, set_flag_value, |
| 99 | set_pc, set_sp, set_fp, |
| 100 | set_cf, set_df, set_sf, set_tf, set_zf, |
| 101 | clear_cf, clear_df, clear_sf, clear_tf, clear_zf, |
| 102 | Flags |
| 103 | |
| 104 | @group Threads snapshot: |
| 105 | clear |
| 106 | |
| 107 | @group Miscellaneous: |
| 108 | read_code_bytes, peek_code_bytes, |
| 109 | peek_pointers_in_data, peek_pointers_in_registers, |
| 110 | get_linear_address, get_label_at_pc |
| 111 | |
| 112 | @type dwThreadId: int |
| 113 | @ivar dwThreadId: Global thread ID. Use L{get_tid} instead. |
| 114 | |
| 115 | @type hThread: L{ThreadHandle} |
| 116 | @ivar hThread: Handle to the thread. Use L{get_handle} instead. |
| 117 | |
| 118 | @type process: L{Process} |
| 119 | @ivar process: Parent process object. Use L{get_process} instead. |
| 120 |
no outgoing calls
no test coverage detected