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