Example #1
0
def get_threads(proc):
    return list_entry(proc.vm,
                      types,
                      proc.profile,
                      proc.ThreadListHead.v(),
                      "_ETHREAD",
                      fieldname="ThreadListEntry")
Example #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")
Example #3
0
def each_irp(thread):
    return list_entry(thread.vm, types, thread.profile,
                      thread.IrpList.v(), '_IRP',
                      fieldname='ThreadListEntry')
Example #4
0
def each_thread(proc):
    return list_entry(proc.vm, types, proc.profile,
                      proc.ThreadListHead.v(), '_ETHREAD',
                      fieldname='ThreadListEntry')
Example #5
0
def get_threads(proc):
    return list_entry(proc.vm, types, proc.profile, proc.ThreadListHead.v(), "_ETHREAD", fieldname="ThreadListEntry")
Example #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")