コード例 #1
0
ファイル: ssdt.py プロジェクト: weixu8/virtuoso
def get_threads(proc):
    return list_entry(proc.vm,
                      types,
                      proc.profile,
                      proc.ThreadListHead.v(),
                      "_ETHREAD",
                      fieldname="ThreadListEntry")
コード例 #2
0
def get_threads(proc):
    """Get a list of all threads for a process"""
    return list_entry(proc.vm,
                      types,
                      proc.profile,
                      proc.ThreadListHead.v(),
                      "_ETHREAD",
                      fieldname="ThreadListEntry")
コード例 #3
0
def each_irp(thread):
    return list_entry(thread.vm, types, thread.profile,
                      thread.IrpList.v(), '_IRP',
                      fieldname='ThreadListEntry')
コード例 #4
0
def each_thread(proc):
    return list_entry(proc.vm, types, proc.profile,
                      proc.ThreadListHead.v(), '_ETHREAD',
                      fieldname='ThreadListEntry')
コード例 #5
0
ファイル: windowlist.py プロジェクト: kleberwilliam/virtuoso
def get_threads(proc):
    return list_entry(proc.vm, types, proc.profile, proc.ThreadListHead.v(), "_ETHREAD", fieldname="ThreadListEntry")
コード例 #6
0
def get_threads(proc):
    """Get a list of all threads for a process"""
    return list_entry(proc.vm, types, proc.profile, proc.ThreadListHead.v(), "_ETHREAD", fieldname="ThreadListEntry")