コード例 #1
0
ファイル: ida_trace_s.py プロジェクト: liaogang/sometrace
def suspend_other_thread():
    current_thread = idc.get_current_thread()
    thread_count = idc.get_thread_qty()
    for i in range(0, thread_count):
        other_thread = idc.getn_thread(i)
        if other_thread != current_thread:
            idc.suspend_thread(other_thread)
コード例 #2
0
ファイル: ida_trace.py プロジェクト: zzzgoda/IDAScripts
def resume_other_thread():
    current_thread = idc.get_current_thread()
    thread_count = idc.get_thread_qty()
    for i in range(0, thread_count):
        other_thread = idc.getn_thread(i)
        if other_thread != current_thread:
            idc.resume_thread(other_thread)
コード例 #3
0
ファイル: idautils.py プロジェクト: zhangji1810/src
def Threads():
    """Returns all thread IDs"""
    for i in xrange(0, idc.get_thread_qty()):
        yield idc.getn_thread(i)
コード例 #4
0
def Threads():
    """Returns all thread IDs for the current debugee"""
    for i in range(0, idc.get_thread_qty()):
        yield idc.getn_thread(i)