uid
stringlengths
24
24
split
stringclasses
1 value
category
stringclasses
2 values
content
stringlengths
5
482k
signature
stringlengths
1
14k
suffix
stringlengths
1
482k
prefix
stringlengths
9
14k
prefix_token_count
int64
3
5.01k
prefix_token_budget
int64
64
256
element_token_count
int64
1
292k
signature_token_count
int64
1
5.01k
prefix_context_token_count
int64
0
255
repo
stringlengths
7
112
path
stringlengths
4
208
language
stringclasses
1 value
name
stringlengths
1
218
qualname
stringlengths
1
218
start_line
int64
1
26.7k
end_line
int64
1
26.7k
signature_start_line
int64
1
26.7k
signature_end_line
int64
1
26.7k
source_hash
stringlengths
40
40
source_dataset
stringclasses
1 value
source_split
stringclasses
1 value
0f79324b0ff34062dec22eed
train
class
class POP_ACTION_TRIGGER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint32() self.Flags = v_uint8() self.Spare = vstruct.VArray([ v_uint8() for i in xrange(3) ]) self.Battery = _unnamed_13534()
class POP_ACTION_TRIGGER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint32() self.Flags = v_uint8() self.Spare = vstruct.VArray([ v_uint8() for i in xrange(3) ]) self.Battery = _unnamed_13534()
8() self.EnableSERR = v_uint8() class CLIENT_ID(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.UniqueProcess = v_ptr32() self.UniqueThread = v_ptr32() class POP_ACTION_TRIGGER(vstruct.VStruct):
64
64
76
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
POP_ACTION_TRIGGER
POP_ACTION_TRIGGER
5,505
5,511
5,505
5,505
902259d237002dd962225b5bdd8bee01e1d1af47
bigcode/the-stack
train
64e39a411b8a1d749a064cf6
train
class
class IO_STATUS_BLOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Status = v_uint32() self.Information = v_uint32()
class IO_STATUS_BLOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Status = v_uint32() self.Information = v_uint32()
= v_uint32() self.BusNumber = v_uint32() self.AddressSpace = v_uint32() self.IoAddress = v_uint64() self.DataValue = v_uint32() self._pad0020 = v_bytes(size=4) class IO_STATUS_BLOCK(vstruct.VStruct):
64
64
42
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
IO_STATUS_BLOCK
IO_STATUS_BLOCK
3,111
3,115
3,111
3,111
781892fc54d3266e826a10c0adb121607592e4ec
bigcode/the-stack
train
4b55a7e24f69239ea3875e5f
train
class
class LUID_AND_ATTRIBUTES(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Luid = LUID() self.Attributes = v_uint32()
class LUID_AND_ATTRIBUTES(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Luid = LUID() self.Attributes = v_uint32()
): vstruct.VStruct.__init__(self) self.DiskId = GUID() class WMI_BUFFER_STATE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Free = v_uint32() class LUID_AND_ATTRIBUTES(vstruct.VStruct):
64
64
43
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
LUID_AND_ATTRIBUTES
LUID_AND_ATTRIBUTES
2,480
2,484
2,480
2,480
d424782cda29f0ad7c21f6bc5c8a89a85f1d997b
bigcode/the-stack
train
982e1dad4841ff44ad26600c
train
class
class _unnamed_16110(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.OutputBufferLength = v_uint32() self.InputBufferLength = v_uint32() self.FsControlCode = v_uint32() self.Type3InputBuffer = v_ptr32()
class _unnamed_16110(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.OutputBufferLength = v_uint32() self.InputBufferLength = v_uint32() self.FsControlCode = v_uint32() self.Type3InputBuffer = v_ptr32()
= v_uint32() self.WaitListHead = LIST_ENTRY() class _unnamed_16509(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DeviceNumber = v_uint32() class _unnamed_16110(vstruct.VStruct):
64
64
71
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16110
_unnamed_16110
3,438
3,444
3,438
3,438
0b243b59ad4be2e25f8167b2928a29cb32354698
bigcode/the-stack
train
55c01c85eb25e00cbc1e045f
train
class
class _unnamed_16445(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PageNo = v_uint32() self.StartPage = v_uint32() self.EndPage = v_uint32() self.CheckSum = v_uint32()
class _unnamed_16445(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.PageNo = v_uint32() self.StartPage = v_uint32() self.EndPage = v_uint32() self.CheckSum = v_uint32()
init__(self) self.Version = v_uint16() self.Revision = v_uint16() self.Count = v_uint32() self.Descriptors = vstruct.VArray([ IO_RESOURCE_DESCRIPTOR() for i in xrange(1) ]) class _unnamed_16445(vstruct.VStruct):
63
64
65
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16445
_unnamed_16445
1,786
1,792
1,786
1,786
acce5bb852b0522d83c43df33c823dbdeb240ed5
bigcode/the-stack
train
f59dbbf824902c370b406d72
train
class
class CM_FULL_RESOURCE_DESCRIPTOR(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.InterfaceType = v_uint32() self.BusNumber = v_uint32() self.PartialResourceList = CM_PARTIAL_RESOURCE_LIST()
class CM_FULL_RESOURCE_DESCRIPTOR(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.InterfaceType = v_uint32() self.BusNumber = v_uint32() self.PartialResourceList = CM_PARTIAL_RESOURCE_LIST()
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.StartSid = v_ptr32() self.SidList = v_ptr32() self.SidListLength = v_uint32() class CM_FULL_RESOURCE_DESCRIPTOR(vstruct.VStruct):
64
64
58
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CM_FULL_RESOURCE_DESCRIPTOR
CM_FULL_RESOURCE_DESCRIPTOR
2,133
2,138
2,133
2,133
0c801cb019e88006b0a0932e432cd346f61392b3
bigcode/the-stack
train
896156ff513e320036b8cd19
train
class
class FILE_GET_QUOTA_INFORMATION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NextEntryOffset = v_uint32() self.SidLength = v_uint32() self.Sid = SID()
class FILE_GET_QUOTA_INFORMATION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.NextEntryOffset = v_uint32() self.SidLength = v_uint32() self.Sid = SID()
.TargetAddress = v_ptr32() self.WritePendingRoutine = v_ptr32() self.PartitionStyle = v_uint32() self.DiskInfo = _unnamed_16505() self._pad0070 = v_bytes(size=4) class FILE_GET_QUOTA_INFORMATION(vstruct.VStruct):
64
64
55
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FILE_GET_QUOTA_INFORMATION
FILE_GET_QUOTA_INFORMATION
5,786
5,791
5,786
5,786
12b8aaf6ae8689a18bb6f3eccaacf7cae79d11be
bigcode/the-stack
train
bc5c6ec3b6da60cf7c420c92
train
class
class DBGKD_GET_INTERNAL_BREAKPOINT64(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BreakpointAddress = v_uint64() self.Flags = v_uint32() self.Calls = v_uint32() self.MaxCallsPerPeriod = v_uint32() self.MinInstructions = v_uint32() ...
class DBGKD_GET_INTERNAL_BREAKPOINT64(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BreakpointAddress = v_uint64() self.Flags = v_uint32() self.Calls = v_uint32() self.MaxCallsPerPeriod = v_uint32() self.MinInstructions = v_uint32() self.MaxInstructions = v_uint32() self.TotalIns...
(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Continue = v_uint32() self.CurrentSymbolStart = v_uint64() self.CurrentSymbolEnd = v_uint64() class DBGKD_GET_INTERNAL_BREAKPOINT64(vstruct.VStruct):
64
64
96
13
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_GET_INTERNAL_BREAKPOINT64
DBGKD_GET_INTERNAL_BREAKPOINT64
1,573
1,582
1,573
1,573
0470c3a2dfc68723aa374539ed822ac131195fdb
bigcode/the-stack
train
fa55080d57907b73ed9dcc51
train
class
class PEB(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.InheritedAddressSpace = v_uint8() self.ReadImageFileExecOptions = v_uint8() self.BeingDebugged = v_uint8() self.SpareBool = v_uint8() self.Mutant = v_ptr32() self.ImageBaseAddr...
class PEB(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.InheritedAddressSpace = v_uint8() self.ReadImageFileExecOptions = v_uint8() self.BeingDebugged = v_uint8() self.SpareBool = v_uint8() self.Mutant = v_ptr32() self.ImageBaseAddress = v_ptr32() self...
ControlExtensionSize = v_uint32() self.BusAddresses = v_ptr32() self.Reserved = vstruct.VArray([ v_uint32() for i in xrange(4) ]) self.GetBusData = v_ptr32() self.SetBusData = v_ptr32() self.AdjustResourceList = v_ptr32() self.AssignSlotResources = v_ptr32() self....
240
240
803
8
232
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PEB
PEB
5,040
5,109
5,040
5,040
8f07ef18c7b7964cea086794f5a71f056040169b
bigcode/the-stack
train
c1181bde13695774a3efdc84
train
class
class DEVICE_NODE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Sibling = v_ptr32() self.Child = v_ptr32() self.Parent = v_ptr32() self.LastChild = v_ptr32() self.Level = v_uint32() self.Notify = v_ptr32() self.State = v_uin...
class DEVICE_NODE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Sibling = v_ptr32() self.Child = v_ptr32() self.Parent = v_ptr32() self.LastChild = v_ptr32() self.Level = v_uint32() self.Notify = v_ptr32() self.State = v_uint32() self.PreviousState = v...
= v_uint32() self.SegSs = v_uint32() self.ExtendedRegisters = vstruct.VArray([ v_uint8() for i in xrange(512) ]) class DBGKD_GET_CONTEXT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Unused = v_uint32() class GENERIC_MAPPING(vstruct.VStruct): def ...
145
145
486
8
137
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DEVICE_NODE
DEVICE_NODE
2,661
2,708
2,661
2,661
92e22052405fcbe585085ba7dc104f1d1f393db9
bigcode/the-stack
train
0c7394e444a7dfde98f031a9
train
class
class HEAP_FREE_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint16() self.PreviousSize = v_uint16() self.SmallTagIndex = v_uint8() self.Flags = v_uint8() self.UnusedBytes = v_uint8() self.SegmentIndex = v_uint8() ...
class HEAP_FREE_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint16() self.PreviousSize = v_uint16() self.SmallTagIndex = v_uint8() self.Flags = v_uint8() self.UnusedBytes = v_uint8() self.SegmentIndex = v_uint8() self.FreeList = LIST_ENTRY()
.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SystemContext = v_uint32() self.Type = v_uint32() self.State = POWER_STATE() self.ShutdownType = v_uint32() class HEAP_FREE_ENTRY(vstruct.VStruct):
64
64
91
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_FREE_ENTRY
HEAP_FREE_ENTRY
2,804
2,813
2,804
2,804
f0dc6d1e366a729ecd0cafd2417bc11dc06871a2
bigcode/the-stack
train
bcdc4d8b9ed802bbab26e168
train
class
class MMVAD_SHORT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.StartingVpn = v_uint32() self.EndingVpn = v_uint32() self.Parent = v_ptr32() self.LeftChild = v_ptr32() self.RightChild = v_ptr32() self.u = _unnamed_14102()
class MMVAD_SHORT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.StartingVpn = v_uint32() self.EndingVpn = v_uint32() self.Parent = v_ptr32() self.LeftChild = v_ptr32() self.RightChild = v_ptr32() self.u = _unnamed_14102()
= v_ptr32() self.KernelApcInProgress = v_uint8() self.KernelApcPending = v_uint8() self.UserApcPending = v_uint8() self._pad0018 = v_bytes(size=1) class MMVAD_SHORT(vstruct.VStruct):
64
64
84
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMVAD_SHORT
MMVAD_SHORT
5,569
5,577
5,569
5,569
1ca90a5a2f7a008da3a24f1c7daa505096787bd6
bigcode/the-stack
train
331d47c18ffa330e7f488559
train
class
class HEAP_LOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Lock = _unnamed_12162()
class HEAP_LOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Lock = _unnamed_12162()
8() for i in xrange(3) ]) self.IdleFunction = v_ptr32() class MMSUPPORT_FLAGS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SessionSpace = v_uint32() class HEAP_LOCK(vstruct.VStruct):
64
64
37
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_LOCK
HEAP_LOCK
5,426
5,429
5,426
5,426
a2ec1c2acb555273e6534bc9bf532fb8459f1444
bigcode/the-stack
train
ef286af77b5138bc87630d77
train
class
class DBGKD_SET_CONTEXT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ContextFlags = v_uint32()
class DBGKD_SET_CONTEXT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ContextFlags = v_uint32()
self.AcOnLineWake = v_uint32() self.SoftLidWake = v_uint32() self.RtcWake = v_uint32() self.MinDeviceWakeState = v_uint32() self.DefaultLowLatencyWake = v_uint32() class DBGKD_SET_CONTEXT(vstruct.VStruct):
64
64
36
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_SET_CONTEXT
DBGKD_SET_CONTEXT
7,337
7,340
7,337
7,337
ec3c5c53e54195e938a2fd313a03b2b1b5d2a2b9
bigcode/the-stack
train
8e01892a3711c089064d5d96
train
class
class SYSPTES_HEADER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ListHead = LIST_ENTRY() self.Count = v_uint32()
class SYSPTES_HEADER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ListHead = LIST_ENTRY() self.Count = v_uint32()
__init__(self): vstruct.VStruct.__init__(self) self.TraceFlag = v_uint32() self.Dr7 = v_uint64() self.CurrentSymbolStart = v_uint64() self.CurrentSymbolEnd = v_uint64() class SYSPTES_HEADER(vstruct.VStruct):
64
64
43
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SYSPTES_HEADER
SYSPTES_HEADER
6,110
6,114
6,110
6,110
a80cde68ae2a99a0330e1bfa2063550b1b1a83b6
bigcode/the-stack
train
c94018ea54b924863e53212a
train
class
class HEAP_TAG_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Allocs = v_uint32() self.Frees = v_uint32() self.Size = v_uint32() self.TagIndex = v_uint16() self.CreatorBackTraceIndex = v_uint16() self.TagName = vstruct.VArray([...
class HEAP_TAG_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Allocs = v_uint32() self.Frees = v_uint32() self.Size = v_uint32() self.TagIndex = v_uint16() self.CreatorBackTraceIndex = v_uint16() self.TagName = vstruct.VArray([ v_uint16() for i in xrange(24) ])
() self.PowerChannelSummary = POWER_CHANNEL_SUMMARY() self.Volume = LIST_ENTRY() class MMPTE_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32() class HEAP_TAG_ENTRY(vstruct.VStruct):
64
64
95
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_TAG_ENTRY
HEAP_TAG_ENTRY
963
971
963
963
56fa0d68e89b92477fe6e3c5eaa6b97ad5961ab0
bigcode/the-stack
train
8bf0f9919846e9c05cc1c5f3
train
class
class _unnamed_16120(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.OutputBufferLength = v_uint32() self.InputBufferLength = v_uint32() self.IoControlCode = v_uint32() self.Type3InputBuffer = v_ptr32()
class _unnamed_16120(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.OutputBufferLength = v_uint32() self.InputBufferLength = v_uint32() self.IoControlCode = v_uint32() self.Type3InputBuffer = v_ptr32()
.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.TokenId = LUID() self.AuthenticationId = LUID() self.ModifiedId = LUID() self.TokenSource = TOKEN_SOURCE() class _unnamed_16120(vstruct.VStruct):
64
64
71
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16120
_unnamed_16120
4,704
4,710
4,704
4,704
787a169a05998142c44f70621d9ce2f94e1e5020
bigcode/the-stack
train
3ee67b4ac0763cf97cec1232
train
class
class KTIMER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.DueTime = ULARGE_INTEGER() self.TimerListEntry = LIST_ENTRY() self.Dpc = v_ptr32() self.Period = v_uint32()
class KTIMER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.DueTime = ULARGE_INTEGER() self.TimerListEntry = LIST_ENTRY() self.Dpc = v_ptr32() self.Period = v_uint32()
() class POWER_SEQUENCE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SequenceD1 = v_uint32() self.SequenceD2 = v_uint32() self.SequenceD3 = v_uint32() class KTIMER(vstruct.VStruct):
64
64
71
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KTIMER
KTIMER
2,012
2,019
2,012
2,012
4fef48c2520e668bd71a41019e00a1b540b86af2
bigcode/the-stack
train
f8dbb2b6d96720d2e7450bc7
train
class
class SECURITY_DESCRIPTOR_RELATIVE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Revision = v_uint8() self.Sbz1 = v_uint8() self.Control = v_uint16() self.Owner = v_uint32() self.Group = v_uint32() self.Sacl = v_uint32() sel...
class SECURITY_DESCRIPTOR_RELATIVE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Revision = v_uint8() self.Sbz1 = v_uint8() self.Control = v_uint16() self.Owner = v_uint32() self.Group = v_uint32() self.Sacl = v_uint32() self.Dacl = v_uint32()
=2) class POWER_ACTION_POLICY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Action = v_uint32() self.Flags = v_uint32() self.EventCode = v_uint32() class SECURITY_DESCRIPTOR_RELATIVE(vstruct.VStruct):
64
64
88
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SECURITY_DESCRIPTOR_RELATIVE
SECURITY_DESCRIPTOR_RELATIVE
5,747
5,756
5,747
5,747
10746f14281fe388590783e466d1c40b2b8550b4
bigcode/the-stack
train
1a4c7c7e166fc4a6c4a2f6d2
train
class
class SUPPORTED_RANGE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.SystemAddressSpace = v_uint32() self.SystemBase = v_uint64() self.Base = v_uint64() self.Limit = v_uint64()
class SUPPORTED_RANGE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.SystemAddressSpace = v_uint32() self.SystemBase = v_uint64() self.Base = v_uint64() self.Limit = v_uint64()
self.Thread = v_ptr32() self.CurrentSpinNode = v_ptr32() self.CurrentOtherNode = v_ptr32() self.ListEntry = LIST_ENTRY() self.NodeCount = v_uint32() self.PagingCount = v_uint32() class SUPPORTED_RANGE(vstruct.VStruct):
64
64
70
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SUPPORTED_RANGE
SUPPORTED_RANGE
5,987
5,994
5,987
5,987
c1812b729db203cab5bad86a4e361469283bb9d1
bigcode/the-stack
train
8a99d1fc5af3b8534526f0d7
train
class
class EPROCESS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Pcb = KPROCESS() self.ProcessLock = EX_PUSH_LOCK() self.CreateTime = LARGE_INTEGER() self.ExitTime = LARGE_INTEGER() self.RundownProtect = EX_RUNDOWN_REF() self.UniqueProc...
class EPROCESS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Pcb = KPROCESS() self.ProcessLock = EX_PUSH_LOCK() self.CreateTime = LARGE_INTEGER() self.ExitTime = LARGE_INTEGER() self.RundownProtect = EX_RUNDOWN_REF() self.UniqueProcessId = v_ptr32() self.Ac...
v_ptr32() self.CommitRoutine = v_ptr32() self.FrontEndHeap = v_ptr32() self.FrontHeapLockCount = v_uint16() self.FrontEndHeapType = v_uint8() self.LastSegmentIndex = v_uint8() class HANDLE_TRACE_DEBUG_INFO(vstruct.VStruct): def __init__(self): vstruct.VStruct.__ini...
255
256
872
8
247
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EPROCESS
EPROCESS
1,880
1,963
1,880
1,880
4a9192bb9649661b7f861c057c9fd9732085ede6
bigcode/the-stack
train
83c6e80815c60ed56acb7c92
train
class
class SID_AND_ATTRIBUTES(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Sid = v_ptr32() self.Attributes = v_uint32()
class SID_AND_ATTRIBUTES(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Sid = v_ptr32() self.Attributes = v_uint32()
__init__(self): vstruct.VStruct.__init__(self) self.OwningObject = v_ptr32() self._pad0008 = v_bytes(size=4) self.Start = v_uint64() self.End = v_uint64() class SID_AND_ATTRIBUTES(vstruct.VStruct):
64
64
43
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SID_AND_ATTRIBUTES
SID_AND_ATTRIBUTES
3,334
3,338
3,334
3,334
7a1f1b324c1734a5359cdf50a0d242dce58d7b04
bigcode/the-stack
train
4eec45ad9b1b33e6231d97c8
train
class
class _unnamed_16446(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.NextTable = v_uint32() self.CheckSum = v_uint32() self.EntryCount = v_uint32()
class _unnamed_16446(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.NextTable = v_uint32() self.CheckSum = v_uint32() self.EntryCount = v_uint32()
def __init__(self): vstruct.VStruct.__init__(self) self.PageNo = v_uint32() self.StartPage = v_uint32() self.EndPage = v_uint32() self.CheckSum = v_uint32() class _unnamed_16446(vstruct.VStruct):
64
64
64
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16446
_unnamed_16446
1,795
1,801
1,795
1,795
982b06a02edeee862922d1214e9df914b940a23d
bigcode/the-stack
train
55f07d1f273053b52e3bbe39
train
class
class _unnamed_12112(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.FreeListsInUseTerminate = v_uint16()
class _unnamed_12112(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.FreeListsInUseTerminate = v_uint16()
= v_ptr32() self.DeallocationCpu = v_ptr32() self.UseKnownWx86Dll = v_uint8() self.OleStubInvoked = v_uint8() self._pad000c = v_bytes(size=2) class _unnamed_12112(vstruct.VStruct):
64
64
41
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_12112
_unnamed_12112
1,381
1,384
1,381
1,381
b3a5e6abfb4767689998bd60a091d7a9504a2aeb
bigcode/the-stack
train
21e56824029295dd8bcc1bd1
train
class
class DBGKD_GET_VERSION64(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.MajorVersion = v_uint16() self.MinorVersion = v_uint16() self.ProtocolVersion = v_uint16() self.Flags = v_uint16() self.MachineType = v_uint16() self.MaxPacketT...
class DBGKD_GET_VERSION64(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.MajorVersion = v_uint16() self.MinorVersion = v_uint16() self.ProtocolVersion = v_uint16() self.Flags = v_uint16() self.MachineType = v_uint16() self.MaxPacketType = v_uint8() self.MaxStateChange ...
64(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.TargetBaseAddress = v_uint64() self.TransferCount = v_uint32() self.ActualBytesWritten = v_uint32() class DBGKD_GET_VERSION64(vstruct.VStruct):
64
64
168
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_GET_VERSION64
DBGKD_GET_VERSION64
2,149
2,164
2,149
2,149
425acdb2699c6d45c83c27675a794e0ad38c334a
bigcode/the-stack
train
d124f370c965934bd790f47e
train
class
class DBGKD_READ_MEMORY64(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.TargetBaseAddress = v_uint64() self.TransferCount = v_uint32() self.ActualBytesRead = v_uint32()
class DBGKD_READ_MEMORY64(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.TargetBaseAddress = v_uint64() self.TransferCount = v_uint32() self.ActualBytesRead = v_uint32()
struct.VStruct.__init__(self) self.SecurityContext = v_ptr32() self.Options = v_uint32() self.FileAttributes = v_uint16() self.ShareAccess = v_uint16() self.EaLength = v_uint32() class DBGKD_READ_MEMORY64(vstruct.VStruct):
64
64
58
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_READ_MEMORY64
DBGKD_READ_MEMORY64
2,853
2,858
2,853
2,853
a5dc80c9c930544fc63329a99b6f7ec0b0d7ab38
bigcode/the-stack
train
44dddbdf11fd91b98d4b2c21
train
class
class _unnamed_14637(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Start = LARGE_INTEGER() self.Length = v_uint32()
class _unnamed_14637(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Start = LARGE_INTEGER() self.Length = v_uint32()
= v_uint16() self.Flink = v_uint32() self.Blink = v_uint32() self.ReferenceCount = v_uint32() self.DescriptorLength = v_uint32() self.Descriptor = SECURITY_DESCRIPTOR_RELATIVE() class _unnamed_14637(vstruct.VStruct):
64
64
44
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14637
_unnamed_14637
5,481
5,485
5,481
5,481
9a29c05b8059e5c684f8240cb1f9b6719d78a458
bigcode/the-stack
train
54236bf163782c07e66f0d4d
train
class
class HIVE_LIST_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Name = v_ptr32() self.BaseName = v_ptr32() self.CmHive = v_ptr32() self.Flags = v_uint32() self.CmHive2 = v_ptr32() self.ThreadFinished = v_uint8() self.Thr...
class HIVE_LIST_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Name = v_ptr32() self.BaseName = v_ptr32() self.CmHive = v_ptr32() self.Flags = v_uint32() self.CmHive2 = v_ptr32() self.ThreadFinished = v_uint8() self.ThreadStarted = v_uint8() self.Allo...
PagedPool = v_ptr32() self.NextPdeForPagedPoolExpansion = v_ptr32() self.PagedPoolHint = v_uint32() self.PagedPoolCommit = v_uint32() self.AllocatedPagedPool = v_uint32() class HIVE_LIST_ENTRY(vstruct.VStruct):
64
64
113
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HIVE_LIST_ENTRY
HIVE_LIST_ENTRY
2,036
2,047
2,036
2,036
955fd1948e9c19fa4b63a9777673f986d55cbbb8
bigcode/the-stack
train
5a1c3f64ece6a59978541548
train
class
class KDEVICE_QUEUE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.Size = v_uint16() self.DeviceListHead = LIST_ENTRY() self.Lock = v_uint32() self.Busy = v_uint8() self._pad0014 = v_bytes(size=3)
class KDEVICE_QUEUE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.Size = v_uint16() self.DeviceListHead = LIST_ENTRY() self.Lock = v_uint32() self.Busy = v_uint8() self._pad0014 = v_bytes(size=3)
() self.ShareAccess = v_uint16() self.Parameters = v_ptr32() class _unnamed_13534(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Level = v_uint32() class KDEVICE_QUEUE(vstruct.VStruct):
64
64
81
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KDEVICE_QUEUE
KDEVICE_QUEUE
4,400
4,408
4,400
4,400
6c2a5616bbe88c357ec4b80c3282f9f6485ec6c4
bigcode/the-stack
train
9bcf2b01841d708ad72dd0c7
train
class
class LPCP_PORT_QUEUE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NonPagedPortQueue = v_ptr32() self.Semaphore = v_ptr32() self.ReceiveHead = LIST_ENTRY()
class LPCP_PORT_QUEUE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.NonPagedPortQueue = v_ptr32() self.Semaphore = v_ptr32() self.ReceiveHead = LIST_ENTRY()
32() self.ProcessorLevel = v_uint16() self.Processor = v_uint16() self.ReturnStatus = v_uint32() self._pad0010 = v_bytes(size=4) self.u = _unnamed_11794() class LPCP_PORT_QUEUE(vstruct.VStruct):
64
64
55
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
LPCP_PORT_QUEUE
LPCP_PORT_QUEUE
3,555
3,560
3,555
3,555
c09e4f5470231cb961af34f11ae5b53753dfa3f8
bigcode/the-stack
train
4434e608f969a4e597405ac3
train
class
class SUPPORTED_RANGES(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Version = v_uint16() self.Sorted = v_uint8() self.Reserved = v_uint8() self.NoIO = v_uint32() self.IO = SUPPORTED_RANGE() self.NoMemory = v_uint32() self._...
class SUPPORTED_RANGES(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Version = v_uint16() self.Sorted = v_uint8() self.Reserved = v_uint8() self.NoIO = v_uint32() self.IO = SUPPORTED_RANGE() self.NoMemory = v_uint32() self._pad0030 = v_bytes(size=4) self.Me...
Struct.__init__(self) self.LongFlags = v_uint32() class _unnamed_14103(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LongFlags2 = v_uint32() class SUPPORTED_RANGES(vstruct.VStruct):
64
64
167
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SUPPORTED_RANGES
SUPPORTED_RANGES
2,275
2,291
2,275
2,275
647d40d0e82b9d73f0de58afcfa7c5a8c0a6e650
bigcode/the-stack
train
6a8b40f6d99747abf2b62ad6
train
class
class MMPTE_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
class MMPTE_LIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
pad001c = v_bytes(size=3) self.State = v_uint32() self.NotifySourceList = LIST_ENTRY() self.NotifyTargetList = LIST_ENTRY() self.PowerChannelSummary = POWER_CHANNEL_SUMMARY() self.Volume = LIST_ENTRY() class MMPTE_LIST(vstruct.VStruct):
64
64
35
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMPTE_LIST
MMPTE_LIST
957
960
957
957
91f35bfab030ccfaddf8ce12abb0f26a5fb95979
bigcode/the-stack
train
527e5af2f4ed9ee5036d768d
train
class
class SEP_AUDIT_POLICY_CATEGORIES(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.System = v_uint32() self.AccountLogon = v_uint32()
class SEP_AUDIT_POLICY_CATEGORIES(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.System = v_uint32() self.AccountLogon = v_uint32()
Length = vstruct.VArray([ v_uint32() for i in xrange(2) ]) self.ReadAheadSpinLock = v_uint32() self.PrivateLinks = LIST_ENTRY() self._pad0058 = v_bytes(size=4) class SEP_AUDIT_POLICY_CATEGORIES(vstruct.VStruct):
64
64
48
13
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SEP_AUDIT_POLICY_CATEGORIES
SEP_AUDIT_POLICY_CATEGORIES
6,714
6,718
6,714
6,714
4754f1fbb94d3763672791e30ad724b5da3ccfb0
bigcode/the-stack
train
41554eca67b1f359da708988
train
class
class ARBITER_ORDERING_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint16() self.Maximum = v_uint16() self.Orderings = v_ptr32()
class ARBITER_ORDERING_LIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint16() self.Maximum = v_uint16() self.Orderings = v_ptr32()
vstruct.VStruct.__init__(self) self.NumberOfRuns = v_uint32() self.NumberOfPages = v_uint32() self.Run = vstruct.VArray([ PHYSICAL_MEMORY_RUN() for i in xrange(1) ]) class ARBITER_ORDERING_LIST(vstruct.VStruct):
63
64
54
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ARBITER_ORDERING_LIST
ARBITER_ORDERING_LIST
4,830
4,835
4,830
4,830
c579d1a5ac82c29b98757fbefda7b19d352e26a1
bigcode/the-stack
train
1c16a1e30ec3792452c2a826
train
class
class WAIT_CONTEXT_BLOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.WaitQueueEntry = KDEVICE_QUEUE_ENTRY() self.DeviceRoutine = v_ptr32() self.DeviceContext = v_ptr32() self.NumberOfMapRegisters = v_uint32() self.DeviceObject = v_ptr32()...
class WAIT_CONTEXT_BLOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.WaitQueueEntry = KDEVICE_QUEUE_ENTRY() self.DeviceRoutine = v_ptr32() self.DeviceContext = v_ptr32() self.NumberOfMapRegisters = v_uint32() self.DeviceObject = v_ptr32() self.CurrentIrp = v_ptr32() ...
__init__(self): vstruct.VStruct.__init__(self) self.BaseAddress = v_ptr32() self.SharedCacheMap = v_ptr32() self.Overlay = _unnamed_11926() self.LruList = LIST_ENTRY() class WAIT_CONTEXT_BLOCK(vstruct.VStruct):
64
64
97
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
WAIT_CONTEXT_BLOCK
WAIT_CONTEXT_BLOCK
6,769
6,778
6,769
6,769
bbc675c011fb921f300644f3e2c335043591cc2f
bigcode/the-stack
train
df3e603984af6515ec6c0c43
train
class
class KiIoAccessMap(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DirectionMap = vstruct.VArray([ v_uint8() for i in xrange(32) ]) self.IoMap = vstruct.VArray([ v_uint8() for i in xrange(8196) ])
class KiIoAccessMap(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DirectionMap = vstruct.VArray([ v_uint8() for i in xrange(32) ]) self.IoMap = vstruct.VArray([ v_uint8() for i in xrange(8196) ])
self.Information = v_uint32() class KPROCESSOR_STATE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ContextFrame = CONTEXT() self.SpecialRegisters = KSPECIAL_REGISTERS() class KiIoAccessMap(vstruct.VStruct):
64
64
73
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KiIoAccessMap
KiIoAccessMap
3,125
3,129
3,125
3,125
38a3230e519df2c48a80d2c67a7a2ffb719ca977
bigcode/the-stack
train
bf1eacf272650e3850886d3e
train
class
class PCI_MN_DISPATCH_TABLE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DispatchStyle = v_uint32() self.DispatchFunction = v_ptr32()
class PCI_MN_DISPATCH_TABLE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DispatchStyle = v_uint32() self.DispatchFunction = v_ptr32()
InfoOffset = v_uint8() self.QuotaInfoOffset = v_uint8() self.Flags = v_uint8() self.ObjectCreateInfo = v_ptr32() self.SecurityDescriptor = v_ptr32() self.Body = QUAD() class PCI_MN_DISPATCH_TABLE(vstruct.VStruct):
64
64
47
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PCI_MN_DISPATCH_TABLE
PCI_MN_DISPATCH_TABLE
3,711
3,715
3,711
3,711
33d413803357727f118a01dc5834b9a9035b8375
bigcode/the-stack
train
fbb4dee1fda1dace324c015f
train
class
class KEXECUTE_OPTIONS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ExecuteDisable = v_uint8()
class KEXECUTE_OPTIONS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ExecuteDisable = v_uint8()
v_enum() MI_PFN_CACHE_ATTRIBUTE.MiNonCached = 0 MI_PFN_CACHE_ATTRIBUTE.MiCached = 1 MI_PFN_CACHE_ATTRIBUTE.MiWriteCombined = 2 MI_PFN_CACHE_ATTRIBUTE.MiNotMapped = 3 class KEXECUTE_OPTIONS(vstruct.VStruct):
64
64
36
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KEXECUTE_OPTIONS
KEXECUTE_OPTIONS
555
558
555
555
de0e39d61df568d2b6004c9ce0f576fcc7e6dc43
bigcode/the-stack
train
586f450145ee1d6b866dbe1b
train
class
class MI_VERIFIER_DRIVER_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Links = LIST_ENTRY() self.Loads = v_uint32() self.Unloads = v_uint32() self.BaseName = UNICODE_STRING() self.StartAddress = v_ptr32() self.EndAddress = v_p...
class MI_VERIFIER_DRIVER_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Links = LIST_ENTRY() self.Loads = v_uint32() self.Unloads = v_uint32() self.BaseName = UNICODE_STRING() self.StartAddress = v_ptr32() self.EndAddress = v_ptr32() self.Flags = v_uint32() se...
7 = v_uint32() self.CurrentSymbolStart = v_uint32() self.CurrentSymbolEnd = v_uint32() class SEP_AUDIT_POLICY_OVERLAY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PolicyBits = v_uint64() class MI_VERIFIER_DRIVER_ENTRY(vstruct.VStruct):
76
76
256
11
65
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MI_VERIFIER_DRIVER_ENTRY
MI_VERIFIER_DRIVER_ENTRY
6,199
6,223
6,199
6,199
9b12dec840f9d989c991e0b5a184c2196dcd2b30
bigcode/the-stack
train
6ac605dccbb4171fe2fac5aa
train
class
class OBJECT_SYMBOLIC_LINK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.CreationTime = LARGE_INTEGER() self.LinkTarget = UNICODE_STRING() self.LinkTargetRemaining = UNICODE_STRING() self.LinkTargetObject = v_ptr32() self.DosDeviceDriveInde...
class OBJECT_SYMBOLIC_LINK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.CreationTime = LARGE_INTEGER() self.LinkTarget = UNICODE_STRING() self.LinkTargetRemaining = UNICODE_STRING() self.LinkTargetObject = v_ptr32() self.DosDeviceDriveIndex = v_uint32()
32() self.DriverInit = v_ptr32() self.DriverStartIo = v_ptr32() self.DriverUnload = v_ptr32() self.MajorFunction = vstruct.VArray([ v_ptr32() for i in xrange(28) ]) class OBJECT_SYMBOLIC_LINK(vstruct.VStruct):
63
64
78
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
OBJECT_SYMBOLIC_LINK
OBJECT_SYMBOLIC_LINK
3,028
3,035
3,028
3,028
f53dce935f67547e037b72429e721d916751b3d1
bigcode/the-stack
train
c2577fdcdd1d4c826f8b7ce7
train
class
class DBGKD_SET_SPECIAL_CALL32(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SpecialCall = v_uint32()
class DBGKD_SET_SPECIAL_CALL32(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SpecialCall = v_uint32()
() for i in xrange(1) ]) class POOL_BLOCK_HEAD(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Header = POOL_HEADER() self.List = LIST_ENTRY() class DBGKD_SET_SPECIAL_CALL32(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_SET_SPECIAL_CALL32
DBGKD_SET_SPECIAL_CALL32
1,208
1,211
1,208
1,208
3952a010a2767468235f3e0ea5d5418d389a99d5
bigcode/the-stack
train
bc74887dbf80c6292ac28562
train
class
class MMPFNLIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Total = v_uint32() self.ListName = v_uint32() self.Flink = v_uint32() self.Blink = v_uint32()
class MMPFNLIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Total = v_uint32() self.ListName = v_uint32() self.Flink = v_uint32() self.Blink = v_uint32()
32() class DBGKD_WRITE_BREAKPOINT32(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BreakPointAddress = v_uint32() self.BreakPointHandle = v_uint32() class MMPFNLIST(vstruct.VStruct):
64
64
63
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMPFNLIST
MMPFNLIST
7,245
7,251
7,245
7,245
0c62d1fd8bfaeed8bcdec81b72ca04a7671c601c
bigcode/the-stack
train
076cc27526d835d9c30cb5ca
train
class
class DBGKD_LOAD_SYMBOLS32(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PathNameLength = v_uint32() self.BaseOfDll = v_uint32() self.ProcessId = v_uint32() self.CheckSum = v_uint32() self.SizeOfImage = v_uint32() self.UnloadSymbols...
class DBGKD_LOAD_SYMBOLS32(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.PathNameLength = v_uint32() self.BaseOfDll = v_uint32() self.ProcessId = v_uint32() self.CheckSum = v_uint32() self.SizeOfImage = v_uint32() self.UnloadSymbols = v_uint8() self._pad0018 = v_bytes(...
() self.Spare = vstruct.VArray([ v_uint8() for i in xrange(3) ]) self.BatteryLevel = v_uint32() self.PowerPolicy = POWER_ACTION_POLICY() self.MinSystemState = v_uint32() class DBGKD_LOAD_SYMBOLS32(vstruct.VStruct):
64
64
100
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_LOAD_SYMBOLS32
DBGKD_LOAD_SYMBOLS32
1,224
1,233
1,224
1,224
8e5bceb75ceae9cbd58a96b0e9bf9a0383e5e6e8
bigcode/the-stack
train
7ade52068eac0e4fcd1b880c
train
class
class _unnamed_12917(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NextResourceDeviceNode = v_ptr32()
class _unnamed_12917(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.NextResourceDeviceNode = v_ptr32()
v_uint8() self.ShareDisposition = v_uint8() self.Spare1 = v_uint8() self.Flags = v_uint16() self.Spare2 = v_uint16() self.u = _unnamed_14532() class _unnamed_12917(vstruct.VStruct):
64
64
40
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_12917
_unnamed_12917
4,175
4,178
4,175
4,175
51e4e141ff32332ed7683123dfca33e06d4676c0
bigcode/the-stack
train
73f147f4c7109330715cefc6
train
class
class PROCESSOR_PERF_STATE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PercentFrequency = v_uint8() self.MinCapacity = v_uint8() self.Power = v_uint16() self.IncreaseLevel = v_uint8() self.DecreaseLevel = v_uint8() self.Flags = v_...
class PROCESSOR_PERF_STATE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.PercentFrequency = v_uint8() self.MinCapacity = v_uint8() self.Power = v_uint16() self.IncreaseLevel = v_uint8() self.DecreaseLevel = v_uint8() self.Flags = v_uint16() self.IncreaseTime = v_uint32...
self.InterfaceType = v_uint32() self.SlotNumber = v_uint32() self.BusNumber = v_uint32() self.Assignment = v_ptr32() self.SelectedAlternative = v_ptr32() self.Result = v_uint32() class PROCESSOR_PERF_STATE(vstruct.VStruct):
64
64
132
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PROCESSOR_PERF_STATE
PROCESSOR_PERF_STATE
4,872
4,885
4,872
4,872
444ba55938ea2af847294d7bce3208b8cea0db6c
bigcode/the-stack
train
fb98c6783a6112824538e4bf
train
class
class VACB(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BaseAddress = v_ptr32() self.SharedCacheMap = v_ptr32() self.Overlay = _unnamed_11926() self.LruList = LIST_ENTRY()
class VACB(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BaseAddress = v_ptr32() self.SharedCacheMap = v_ptr32() self.Overlay = _unnamed_11926() self.LruList = LIST_ENTRY()
_uint32() class _unnamed_10880(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.FnArea = FNSAVE_FORMAT() self._pad0208 = v_bytes(size=412) class VACB(vstruct.VStruct):
64
64
65
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
VACB
VACB
6,760
6,766
6,760
6,760
3584660188f4a8634822e2d2b0f40d68c9f5d798
bigcode/the-stack
train
d07615dcb0a54742f053421c
train
class
class ERESOURCE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SystemResourcesList = LIST_ENTRY() self.OwnerTable = v_ptr32() self.ActiveCount = v_uint16() self.Flag = v_uint16() self.SharedWaiters = v_ptr32() self.ExclusiveWaiters =...
class ERESOURCE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SystemResourcesList = LIST_ENTRY() self.OwnerTable = v_ptr32() self.ActiveCount = v_uint16() self.Flag = v_uint16() self.SharedWaiters = v_ptr32() self.ExclusiveWaiters = v_ptr32() self.OwnerThrea...
self.FreeThreshold = v_uint16() self.BlockCount = v_uint16() self.SizeIndex = v_uint8() self.AffinityIndex = v_uint8() self.SFreeListEntry = SINGLE_LIST_ENTRY() self.Lock = v_uint32() class ERESOURCE(vstruct.VStruct):
64
64
154
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ERESOURCE
ERESOURCE
6,523
6,537
6,523
6,523
5208ac3e77e29f548ad1cca8246e36261732efed
bigcode/the-stack
train
934fa33a81967fcdd4885b31
train
class
class FILE_NETWORK_OPEN_INFORMATION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.CreationTime = LARGE_INTEGER() self.LastAccessTime = LARGE_INTEGER() self.LastWriteTime = LARGE_INTEGER() self.ChangeTime = LARGE_INTEGER() self.AllocationSiz...
class FILE_NETWORK_OPEN_INFORMATION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.CreationTime = LARGE_INTEGER() self.LastAccessTime = LARGE_INTEGER() self.LastWriteTime = LARGE_INTEGER() self.ChangeTime = LARGE_INTEGER() self.AllocationSize = LARGE_INTEGER() self.EndOfFile = LARGE_INT...
amed_13252() class DBGKD_BREAKPOINTEX(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BreakPointCount = v_uint32() self.ContinueStatus = v_uint32() class FILE_NETWORK_OPEN_INFORMATION(vstruct.VStruct):
64
64
103
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FILE_NETWORK_OPEN_INFORMATION
FILE_NETWORK_OPEN_INFORMATION
3,957
3,967
3,957
3,957
99563b44c11558fed4a0a92aaae7533fd0045a96
bigcode/the-stack
train
27b30078fcd8a21dea5c8c06
train
class
class _unnamed_11926(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.FileOffset = LARGE_INTEGER()
class _unnamed_11926(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.FileOffset = LARGE_INTEGER()
v_uint32() self.ActualBytesRead = v_uint32() class QUAD(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DoNotUseThisField = v_uint64() class _unnamed_11926(vstruct.VStruct):
64
64
37
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_11926
_unnamed_11926
7,017
7,020
7,017
7,017
7bbfa030a502bddf420c00f315c8fdcb5458edf1
bigcode/the-stack
train
dea16ad69835718d7d56310c
train
class
class ULARGE_INTEGER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LowPart = v_uint32() self.HighPart = v_uint32()
class ULARGE_INTEGER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.LowPart = v_uint32() self.HighPart = v_uint32()
(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Flags = v_uint16() self.Length = v_uint16() self.TimeStamp = v_uint32() self.DosPath = STRING() class ULARGE_INTEGER(vstruct.VStruct):
64
64
44
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ULARGE_INTEGER
ULARGE_INTEGER
4,757
4,761
4,757
4,757
12cb30281338a497e53543422a02eb59f450eb77
bigcode/the-stack
train
870c8763b58b428a9878554b
train
class
class TEB(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NtTib = NT_TIB() self.EnvironmentPointer = v_ptr32() self.ClientId = CLIENT_ID() self.ActiveRpcHandle = v_ptr32() self.ThreadLocalStoragePointer = v_ptr32() self.ProcessEnviron...
class TEB(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.NtTib = NT_TIB() self.EnvironmentPointer = v_ptr32() self.ClientId = CLIENT_ID() self.ActiveRpcHandle = v_ptr32() self.ThreadLocalStoragePointer = v_ptr32() self.ProcessEnvironmentBlock = v_ptr32() ...
_ptr32() self.FileWrite = v_ptr32() self.FileRead = v_ptr32() self.FileFlush = v_ptr32() self.BaseBlock = v_ptr32() self.DirtyVector = RTL_BITMAP() self.DirtyCount = v_uint32() self.DirtyAlloc = v_uint32() self.RealWrites = v_uint8() self._pad003c ...
256
256
884
8
248
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
TEB
TEB
2,936
3,005
2,936
2,936
30f4108567bfba52ea339fc171748ccb4fb3a9e7
bigcode/the-stack
train
3174f6eaa21b32924efe35e2
train
class
class RTL_ATOM_TABLE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.CriticalSection = RTL_CRITICAL_SECTION() self.RtlHandleTable = RTL_HANDLE_TABLE() self.NumberOfBuckets = v_uint32() self.Buckets = vstruct.VArray...
class RTL_ATOM_TABLE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.CriticalSection = RTL_CRITICAL_SECTION() self.RtlHandleTable = RTL_HANDLE_TABLE() self.NumberOfBuckets = v_uint32() self.Buckets = vstruct.VArray([ v_ptr32() for i in xrange(1) ])
self.DockInfo = _unnamed_12918() self.DisableableDepends = v_uint32() self.PendedSetInterfaceState = LIST_ENTRY() self.LegacyBusListEntry = LIST_ENTRY() self.DriverUnloadRetryCount = v_uint32() class RTL_ATOM_TABLE(vstruct.VStruct):
64
64
90
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
RTL_ATOM_TABLE
RTL_ATOM_TABLE
2,711
2,718
2,711
2,711
e7ac37ed77a990332d02844ea12bb2d069e55db8
bigcode/the-stack
train
b1eaea3d7e22b96ad9f6cd2a
train
class
class HANDLE_TRACE_DEBUG_INFO(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.CurrentStackIndex = v_uint32() self.TraceDb = vstruct.VArray([ HANDLE_TRACE_DB_ENTRY() for i in xrange(4096) ])
class HANDLE_TRACE_DEBUG_INFO(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.CurrentStackIndex = v_uint32() self.TraceDb = vstruct.VArray([ HANDLE_TRACE_DB_ENTRY() for i in xrange(4096) ])
self.CommitRoutine = v_ptr32() self.FrontEndHeap = v_ptr32() self.FrontHeapLockCount = v_uint16() self.FrontEndHeapType = v_uint8() self.LastSegmentIndex = v_uint8() class HANDLE_TRACE_DEBUG_INFO(vstruct.VStruct):
64
64
61
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HANDLE_TRACE_DEBUG_INFO
HANDLE_TRACE_DEBUG_INFO
1,858
1,862
1,858
1,858
34fc82fedef82c679d3b6f1525d67e65c09760e2
bigcode/the-stack
train
77a9baf24d304ab2058611ca
train
class
class ARBITER_PARAMETERS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Parameters = _unnamed_15247()
class ARBITER_PARAMETERS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Parameters = _unnamed_15247()
vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.SystemAddressSpace = v_uint32() self.SystemBase = v_uint64() self.Base = v_uint64() self.Limit = v_uint64() class ARBITER_PARAMETERS(vstruct.VStruct):
64
64
38
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ARBITER_PARAMETERS
ARBITER_PARAMETERS
5,997
6,000
5,997
5,997
a4384b035b8c950af332c41d3a3f0c536d039586
bigcode/the-stack
train
35746e590f8fd877c04135d4
train
class
class _unnamed_13152(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.e1 = MMPFNENTRY()
class _unnamed_13152(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.e1 = MMPFNENTRY()
.__init__(self) self.Flink = v_uint32() class _unnamed_13151(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Blink = v_uint32() class _unnamed_13152(vstruct.VStruct):
64
64
39
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_13152
_unnamed_13152
4,057
4,060
4,057
4,057
34c2aad283dae3f7a8aae7ae08ae2559441f364f
bigcode/the-stack
train
8f34fb14a547bc38535ffd80
train
class
class HANDLE_TRACE_DB_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ClientId = CLIENT_ID() self.Handle = v_ptr32() self.Type = v_uint32() self.StackTrace = vstruct.VArray([ v_ptr32() for i in xrange(16) ])
class HANDLE_TRACE_DB_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ClientId = CLIENT_ID() self.Handle = v_ptr32() self.Type = v_uint32() self.StackTrace = vstruct.VArray([ v_ptr32() for i in xrange(16) ])
Struct): def __init__(self): vstruct.VStruct.__init__(self) self.ContinueStatus = v_uint32() self.ControlSet = X86_DBGKD_CONTROL_SET() self._pad0020 = v_bytes(size=12) class HANDLE_TRACE_DB_ENTRY(vstruct.VStruct):
64
64
73
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HANDLE_TRACE_DB_ENTRY
HANDLE_TRACE_DB_ENTRY
3,814
3,820
3,814
3,814
b5b923bdde742f2434d8b08a3a1eda4fa4c198b4
bigcode/the-stack
train
e1557b9a418dc5150c40622e
train
class
class RTL_DRIVE_LETTER_CURDIR(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Flags = v_uint16() self.Length = v_uint16() self.TimeStamp = v_uint32() self.DosPath = STRING()
class RTL_DRIVE_LETTER_CURDIR(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Flags = v_uint16() self.Length = v_uint16() self.TimeStamp = v_uint32() self.DosPath = STRING()
() self.Signature = v_uint32() class _unnamed_16559(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ArbitrationList = v_ptr32() class RTL_DRIVE_LETTER_CURDIR(vstruct.VStruct):
64
64
64
14
50
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
RTL_DRIVE_LETTER_CURDIR
RTL_DRIVE_LETTER_CURDIR
4,748
4,754
4,748
4,748
a8136533b251b0ec4f1722ea801140d24fb807b5
bigcode/the-stack
train
5ddfa31af4cd36ae35de3367
train
class
class _unnamed_16242(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SystemContext = v_uint32() self.Type = v_uint32() self.State = POWER_STATE() self.ShutdownType = v_uint32()
class _unnamed_16242(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SystemContext = v_uint32() self.Type = v_uint32() self.State = POWER_STATE() self.ShutdownType = v_uint32()
.BaseOfBss = v_uint32() self.GprMask = v_uint32() self.CprMask = vstruct.VArray([ v_uint32() for i in xrange(4) ]) self.GpValue = v_uint32() class _unnamed_16242(vstruct.VStruct):
64
64
63
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16242
_unnamed_16242
2,795
2,801
2,795
2,795
d63d9157d0a8f39c8a2b72ee77916fdcd6107572
bigcode/the-stack
train
8c20db93dc78c36401bf37bf
train
class
class _unnamed_16565(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PhysicalDeviceObject = v_ptr32() self.ConflictingResource = v_ptr32() self.ConflictCount = v_ptr32() self.Conflicts = v_ptr32()
class _unnamed_16565(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.PhysicalDeviceObject = v_ptr32() self.ConflictingResource = v_ptr32() self.ConflictCount = v_ptr32() self.Conflicts = v_ptr32()
32() self.Sid = SID() class IO_COMPLETION_CONTEXT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Port = v_ptr32() self.Key = v_ptr32() class _unnamed_16565(vstruct.VStruct):
64
64
71
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16565
_unnamed_16565
5,801
5,807
5,801
5,801
49972709054f90f5ce50ead4f053794753eb5e02
bigcode/the-stack
train
986ddb71a18497009d4020d9
train
class
class DEVOBJ_EXTENSION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.Size = v_uint16() self.DeviceObject = v_ptr32() self.PowerFlags = v_uint32() self.Dope = v_ptr32() self.ExtensionFlags = v_uint32() ...
class DEVOBJ_EXTENSION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.Size = v_uint16() self.DeviceObject = v_ptr32() self.PowerFlags = v_uint32() self.Dope = v_ptr32() self.ExtensionFlags = v_uint32() self.DeviceNode = v_ptr32() self....
32() self.GrantedAccess = v_uint32() class OWNER_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.OwnerThread = v_uint32() self.OwnerCount = v_uint32() class DEVOBJ_EXTENSION(vstruct.VStruct):
64
64
136
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DEVOBJ_EXTENSION
DEVOBJ_EXTENSION
1,026
1,040
1,026
1,026
fe1a8d043c951193629b6969502276ab00d153c3
bigcode/the-stack
train
23d371ae49c5b3c0b422c3ce
train
class
class _unnamed_12111(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.FreeListsInUseUlong = vstruct.VArray([ v_uint32() for i in xrange(4) ])
class _unnamed_12111(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.FreeListsInUseUlong = vstruct.VArray([ v_uint32() for i in xrange(4) ])
._pad000c = v_bytes(size=2) class _unnamed_12112(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.FreeListsInUseTerminate = v_uint16() class _unnamed_12111(vstruct.VStruct):
64
64
55
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_12111
_unnamed_12111
1,387
1,390
1,387
1,387
691658dc6191f4ed83dcadf023caeda693a48dd1
bigcode/the-stack
train
7ad47fe4c59d5c4d1e068fe4
train
class
class POP_TRIGGER_WAIT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Event = KEVENT() self.Status = v_uint32() self.Link = LIST_ENTRY() self.Trigger = v_ptr32()
class POP_TRIGGER_WAIT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Event = KEVENT() self.Status = v_uint32() self.Link = LIST_ENTRY() self.Trigger = v_ptr32()
): vstruct.VStruct.__init__(self) self.Cell = v_uint32() self.ConvKey = v_uint32() self.List = LIST_ENTRY() self.DescriptorLength = v_uint32() self.Descriptor = SECURITY_DESCRIPTOR_RELATIVE() class POP_TRIGGER_WAIT(vstruct.VStruct):
64
64
56
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
POP_TRIGGER_WAIT
POP_TRIGGER_WAIT
7,069
7,075
7,069
7,069
50b551dc40ea9b76ee9b43516d73c071353e58ad
bigcode/the-stack
train
2808a1c18c2660327b4f6cb2
train
class
class SECURITY_DESCRIPTOR(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Revision = v_uint8() self.Sbz1 = v_uint8() self.Control = v_uint16() self.Owner = v_ptr32() self.Group = v_ptr32() self.Sacl = v_ptr32() self.Dacl = v_p...
class SECURITY_DESCRIPTOR(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Revision = v_uint8() self.Sbz1 = v_uint8() self.Control = v_uint16() self.Owner = v_ptr32() self.Group = v_ptr32() self.Sacl = v_ptr32() self.Dacl = v_ptr32()
PCI_HEADER_TYPE_0() class EVENT_COUNTER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ListEntry = SINGLE_LIST_ENTRY() self.RefCount = v_uint32() self.Event = KEVENT() class SECURITY_DESCRIPTOR(vstruct.VStruct):
64
64
86
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SECURITY_DESCRIPTOR
SECURITY_DESCRIPTOR
1,420
1,429
1,420
1,420
bab50aeff105ab7441764f1b89d0592512a565d3
bigcode/the-stack
train
0480de264610b0d26c1226b3
train
class
class EXCEPTION_POINTERS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionRecord = v_ptr32() self.ContextRecord = v_ptr32()
class EXCEPTION_POINTERS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionRecord = v_ptr32() self.ContextRecord = v_ptr32()
(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SpinLock = v_uint32() self.HashTable = vstruct.VArray([ LIST_ENTRY() for i in xrange(64) ]) class EXCEPTION_POINTERS(vstruct.VStruct):
63
64
45
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EXCEPTION_POINTERS
EXCEPTION_POINTERS
7,052
7,056
7,052
7,052
11e94f0fda2e6ec4af959e439a472b06038452fc
bigcode/the-stack
train
799825ecdec0521fc561f44e
train
class
class KAPC_STATE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ApcListHead = vstruct.VArray([ LIST_ENTRY() for i in xrange(2) ]) self.Process = v_ptr32() self.KernelApcInProgress = v_uint8() self.KernelApcPending = v_uint8() self.UserApcPen...
class KAPC_STATE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ApcListHead = vstruct.VArray([ LIST_ENTRY() for i in xrange(2) ]) self.Process = v_ptr32() self.KernelApcInProgress = v_uint8() self.KernelApcPending = v_uint8() self.UserApcPending = v_uint8() self._pad0...
init__(self) self.Data1 = v_uint32() self.Data2 = v_uint16() self.Data3 = v_uint16() self.Data4 = vstruct.VArray([ v_uint8() for i in xrange(8) ]) class KAPC_STATE(vstruct.VStruct):
63
64
107
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KAPC_STATE
KAPC_STATE
5,558
5,566
5,558
5,558
5fabaf39ab14e714fd98ff3a3287cd68fd03d95d
bigcode/the-stack
train
09090d0ea0ac4af9536e6ddc
train
class
class WNODE_HEADER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BufferSize = v_uint32() self.ProviderId = v_uint32() self.HistoricalContext = v_uint64() self.CountLost = v_uint32() self._pad0018 = v_bytes(size=4) self.Guid = GUID()...
class WNODE_HEADER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BufferSize = v_uint32() self.ProviderId = v_uint32() self.HistoricalContext = v_uint64() self.CountLost = v_uint32() self._pad0018 = v_bytes(size=4) self.Guid = GUID() self.ClientContext = v_uint3...
in xrange(1) ]) class _unnamed_16107(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.FsInformationClass = v_uint32() class WNODE_HEADER(vstruct.VStruct):
64
64
99
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
WNODE_HEADER
WNODE_HEADER
1,260
1,270
1,260
1,260
37c98f2dfe63639ca3b7f7dc042cba9df3d104b4
bigcode/the-stack
train
91ba33a0647940a573c3f0db
train
class
class SLIST_HEADER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Alignment = v_uint64()
class SLIST_HEADER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Alignment = v_uint64()
() self.Version = v_uint16() self.Context = v_ptr32() self.InterfaceReference = v_ptr32() self.InterfaceDereference = v_ptr32() self.ArbiterHandler = v_ptr32() self.Flags = v_uint32() class SLIST_HEADER(vstruct.VStruct):
64
64
34
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SLIST_HEADER
SLIST_HEADER
6,631
6,634
6,631
6,631
4f1a0b7006f86edfeeffe8835ea06c768b0ec911
bigcode/the-stack
train
ab5cd91620c0f0f6046f6642
train
class
class RTL_BITMAP(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SizeOfBitMap = v_uint32() self.Buffer = v_ptr32()
class RTL_BITMAP(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SizeOfBitMap = v_uint32() self.Buffer = v_ptr32()
= v_uint32() self.WaitSleep = LIST_ENTRY() self.ReadySleep = LIST_ENTRY() self.Pending = LIST_ENTRY() self.Complete = LIST_ENTRY() self.ReadyS0 = LIST_ENTRY() self.WaitS0 = LIST_ENTRY() class RTL_BITMAP(vstruct.VStruct):
64
64
44
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
RTL_BITMAP
RTL_BITMAP
1,679
1,683
1,679
1,679
2889ae9dc1d9733a0cc96ec10021e3e79934735f
bigcode/the-stack
train
62189f32f48b19702f681fb0
train
class
class EXCEPTION_RECORD(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionCode = v_uint32() self.ExceptionFlags = v_uint32() self.ExceptionRecord = v_ptr32() self.ExceptionAddress = v_ptr32() self.NumberParameters = v_uint32() s...
class EXCEPTION_RECORD(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionCode = v_uint32() self.ExceptionFlags = v_uint32() self.ExceptionRecord = v_ptr32() self.ExceptionAddress = v_ptr32() self.NumberParameters = v_uint32() self.ExceptionInformation = vstruct.VArray...
self.Base = v_uint64() self.Limit = v_uint64() class ARBITER_PARAMETERS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Parameters = _unnamed_15247() class EXCEPTION_RECORD(vstruct.VStruct):
64
64
93
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EXCEPTION_RECORD
EXCEPTION_RECORD
6,003
6,011
6,003
6,003
1d4e29584583ae373d63a0e3a292dc87c20bf6a5
bigcode/the-stack
train
85ac064b849ab6c5d1712550
train
class
class KQUEUE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.EntryListHead = LIST_ENTRY() self.CurrentCount = v_uint32() self.MaximumCount = v_uint32() self.ThreadListHead = LIST_ENTRY()
class KQUEUE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.EntryListHead = LIST_ENTRY() self.CurrentCount = v_uint32() self.MaximumCount = v_uint32() self.ThreadListHead = LIST_ENTRY()
in xrange(80) ]) self.Cr0NpxState = v_uint32() class WMI_LOGGER_MODE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SequentialFile = v_uint32() class KQUEUE(vstruct.VStruct):
64
64
70
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KQUEUE
KQUEUE
2,446
2,453
2,446
2,446
cf854e71e87194bbdcd3c7f72f5c9a09093638d9
bigcode/the-stack
train
afd07c03e3846deea6fc7b46
train
class
class _unnamed_16315(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Priority = v_uint32() self.Reserved1 = v_uint32() self.Reserved2 = v_uint32()
class _unnamed_16315(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Priority = v_uint32() self.Reserved1 = v_uint32() self.Reserved2 = v_uint32()
__init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.MinBusNumber = v_uint32() self.MaxBusNumber = v_uint32() self.Reserved = v_uint32() class _unnamed_16315(vstruct.VStruct):
64
64
57
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16315
_unnamed_16315
878
883
878
878
606bf5c13b1776f947de02713c48ac37938462f5
bigcode/the-stack
train
f9ca83e318f5f935900ea47b
train
class
class PCI_POWER_STATE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.CurrentSystemState = v_uint32() self.CurrentDeviceState = v_uint32() self.SystemWakeLevel = v_uint32() self.DeviceWakeLevel = v_uint32() self.SystemStateMapping = vstruct.V...
class PCI_POWER_STATE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.CurrentSystemState = v_uint32() self.CurrentDeviceState = v_uint32() self.SystemWakeLevel = v_uint32() self.DeviceWakeLevel = v_uint32() self.SystemStateMapping = vstruct.VArray([ DEVICE_POWER_STATE() for i in xr...
_uint32() self.BankedRoutine = v_ptr32() self.Context = v_ptr32() self.CurrentMappedPte = v_ptr32() self.BankTemplate = vstruct.VArray([ MMPTE() for i in xrange(1) ]) class PCI_POWER_STATE(vstruct.VStruct):
63
64
139
9
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PCI_POWER_STATE
PCI_POWER_STATE
3,285
3,297
3,285
3,285
b8e6f658d17d2d8e7e95f619f6409db4636766ee
bigcode/the-stack
train
f09dd1de86db92d0bbfa5756
train
class
class HEAP_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint16() self.PreviousSize = v_uint16() self.SmallTagIndex = v_uint8() self.Flags = v_uint8() self.UnusedBytes = v_uint8() self.SegmentIndex = v_uint8()
class HEAP_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint16() self.PreviousSize = v_uint16() self.SmallTagIndex = v_uint8() self.Flags = v_uint8() self.UnusedBytes = v_uint8() self.SegmentIndex = v_uint8()
class IMAGE_NT_HEADERS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.FileHeader = IMAGE_FILE_HEADER() self.OptionalHeader = IMAGE_OPTIONAL_HEADER() class HEAP_ENTRY(vstruct.VStruct):
64
64
82
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_ENTRY
HEAP_ENTRY
6,157
6,165
6,157
6,157
c1bfc9c24c68308eb17ad0a9d25a0ef732dd7012
bigcode/the-stack
train
790f46b0121c104c409edf04
train
class
class IO_STACK_LOCATION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.MajorFunction = v_uint8() self.MinorFunction = v_uint8() self.Flags = v_uint8() self.Control = v_uint8() self.Parameters = _unnamed_14762() self.DeviceObject = v_...
class IO_STACK_LOCATION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.MajorFunction = v_uint8() self.MinorFunction = v_uint8() self.Flags = v_uint8() self.Control = v_uint8() self.Parameters = _unnamed_14762() self.DeviceObject = v_ptr32() self.FileObject = v_ptr32(...
v_ptr32() self.CallbackContext = v_ptr32() self.PoolType = v_uint32() self._pad01b8 = v_bytes(size=4) self.ReferenceSystemTime = LARGE_INTEGER() self.ReferenceTimeStamp = LARGE_INTEGER() class IO_STACK_LOCATION(vstruct.VStruct):
64
64
109
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
IO_STACK_LOCATION
IO_STACK_LOCATION
6,341
6,352
6,341
6,341
cbfbd92ebf3a8fd3df0e26151fba69032a361c22
bigcode/the-stack
train
32e22fa327e447f3219207fe
train
class
class POP_SHUTDOWN_BUG_CHECK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Code = v_uint32() self.Parameter1 = v_uint32() self.Parameter2 = v_uint32() self.Parameter3 = v_uint32() self.Parameter4 = v_uint32()
class POP_SHUTDOWN_BUG_CHECK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Code = v_uint32() self.Parameter1 = v_uint32() self.Parameter2 = v_uint32() self.Parameter3 = v_uint32() self.Parameter4 = v_uint32()
4 = v_bytes(size=3) self.GrowOffset = v_uint32() self.KcbConvertListHead = LIST_ENTRY() self.KnodeConvertListHead = LIST_ENTRY() self.CellRemapArray = v_ptr32() class POP_SHUTDOWN_BUG_CHECK(vstruct.VStruct):
64
64
74
13
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
POP_SHUTDOWN_BUG_CHECK
POP_SHUTDOWN_BUG_CHECK
3,668
3,675
3,668
3,668
fd46135039a78ac4a2c10f6b8e4df4f91bb86923
bigcode/the-stack
train
16e08a2ec01e139a6969ce18
train
class
class MMWSLENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
class MMWSLENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
32() class _unnamed_16629(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DeviceId = vstruct.VArray([ v_uint16() for i in xrange(1) ]) class MMWSLENTRY(vstruct.VStruct):
63
64
35
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMWSLENTRY
MMWSLENTRY
812
815
812
812
fd15f18601c390dae3b1785aa6641425ae851da3
bigcode/the-stack
train
8bc4a3e0be6c76343ec1bafd
train
class
class EX_PUSH_LOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Waiting = v_uint32()
class EX_PUSH_LOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Waiting = v_uint32()
= v_ptr32() self.SystemControlIrpDispatchStyle = v_uint32() self.SystemControlIrpDispatchFunction = v_ptr32() self.OtherIrpDispatchStyle = v_uint32() self.OtherIrpDispatchFunction = v_ptr32() class EX_PUSH_LOCK(vstruct.VStruct):
64
64
35
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EX_PUSH_LOCK
EX_PUSH_LOCK
6,613
6,616
6,613
6,613
8e7ec3f1b07e09a3b05c510d100782572a09ffe4
bigcode/the-stack
train
bd33fd553bdeb1cec9a9ccb2
train
class
class IO_RESOURCE_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Version = v_uint16() self.Revision = v_uint16() self.Count = v_uint32() self.Descriptors = vstruct.VArray([ IO_RESOURCE_DESCRIPTOR() for i in xrange(1) ])
class IO_RESOURCE_LIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Version = v_uint16() self.Revision = v_uint16() self.Count = v_uint32() self.Descriptors = vstruct.VArray([ IO_RESOURCE_DESCRIPTOR() for i in xrange(1) ])
.__init__(self) self.P = v_ptr32() self.L = v_ptr32() class OBJECT_NAME_INFORMATION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Name = UNICODE_STRING() class IO_RESOURCE_LIST(vstruct.VStruct):
64
64
73
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
IO_RESOURCE_LIST
IO_RESOURCE_LIST
1,777
1,783
1,777
1,777
264c12737c1293314244260c9468d3ca1ba66b03
bigcode/the-stack
train
3a9a56499355c682dff2612d
train
class
class _unnamed_16125(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SecurityInformation = v_uint32() self.Length = v_uint32()
class _unnamed_16125(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SecurityInformation = v_uint32() self.Length = v_uint32()
__init__(self): vstruct.VStruct.__init__(self) self.ListEntry = LIST_ENTRY() self.CallersAddress = v_ptr32() self.CallersCaller = v_ptr32() self.CallCount = v_uint32() class _unnamed_16125(vstruct.VStruct):
64
64
46
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16125
_unnamed_16125
4,688
4,692
4,688
4,688
dba951ae1b63d4c215c0322a25603a2442ef2615
bigcode/the-stack
train
284364f4c633fedd9d2446a3
train
class
class _unnamed_14650(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Start = v_uint32() self.Length = v_uint32() self.Reserved = v_uint32()
class _unnamed_14650(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Start = v_uint32() self.Length = v_uint32() self.Reserved = v_uint32()
self.ClusterShift = v_uint8() self.Reserved = v_uint8() self.NumberOfChunks = v_uint16() self.CompressedChunkSizes = vstruct.VArray([ v_uint32() for i in xrange(1) ]) class _unnamed_14650(vstruct.VStruct):
63
64
54
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14650
_unnamed_14650
3,605
3,610
3,605
3,605
0bcc08ae7913925090c68090044a42a385defd26
bigcode/the-stack
train
11cab2340f0f678ecc7b2977
train
class
class DEVICE_OBJECT_POWER_EXTENSION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.IdleCount = v_uint32() self.ConservationIdleTime = v_uint32() self.PerformanceIdleTime = v_uint32() self.DeviceObject = v_ptr32() self.IdleList = LIST_ENTRY()...
class DEVICE_OBJECT_POWER_EXTENSION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.IdleCount = v_uint32() self.ConservationIdleTime = v_uint32() self.PerformanceIdleTime = v_uint32() self.DeviceObject = v_ptr32() self.IdleList = LIST_ENTRY() self.DeviceType = v_uint8() self._pad...
self.ThreadSeed = v_uint8() self.DisableBoost = v_uint8() self.PowerState = v_uint8() self.DisableQuantum = v_uint8() self.IdealNode = v_uint8() self.Flags = KEXECUTE_OPTIONS() class DEVICE_OBJECT_POWER_EXTENSION(vstruct.VStruct):
64
64
143
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DEVICE_OBJECT_POWER_EXTENSION
DEVICE_OBJECT_POWER_EXTENSION
940
954
940
940
6c8adb7557f296e3065761581ff6cb33c76da69b
bigcode/the-stack
train
e229dfe1071bf84d5d7bdc4b
train
class
class OBJECT_CREATE_INFORMATION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Attributes = v_uint32() self.RootDirectory = v_ptr32() self.ParseContext = v_ptr32() self.ProbeMode = v_uint8() self._pad0010 = v_bytes(size=3) self.Paged...
class OBJECT_CREATE_INFORMATION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Attributes = v_uint32() self.RootDirectory = v_ptr32() self.ParseContext = v_ptr32() self.ProbeMode = v_uint8() self._pad0010 = v_bytes(size=3) self.PagedPoolCharge = v_uint32() self.NonPagedPoolC...
BugCode = v_ptr32() self.DevState = v_ptr32() self.HiberContext = v_ptr32() self.LastWakeState = v_uint32() self.WakeTime = v_uint64() self.SleepTime = v_uint64() class OBJECT_CREATE_INFORMATION(vstruct.VStruct):
64
64
139
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
OBJECT_CREATE_INFORMATION
OBJECT_CREATE_INFORMATION
1,626
1,639
1,626
1,626
4a8b4e24d1d5f353f34019d4bf5a61327427e4e5
bigcode/the-stack
train
aedbeec4b84b84f0c849c03f
train
class
class FX_SAVE_AREA(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.U = _unnamed_10880() self.NpxSavedCpu = v_uint32() self.Cr0NpxState = v_uint32()
class FX_SAVE_AREA(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.U = _unnamed_10880() self.NpxSavedCpu = v_uint32() self.Cr0NpxState = v_uint32()
_HEADER() self.MutantListEntry = LIST_ENTRY() self.OwnerThread = v_ptr32() self.Abandoned = v_uint8() self.ApcDisable = v_uint8() self._pad0020 = v_bytes(size=2) class FX_SAVE_AREA(vstruct.VStruct):
64
64
61
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FX_SAVE_AREA
FX_SAVE_AREA
1,996
2,001
1,996
1,996
796376a6429f4766a327c2fc750aed3b4090c8e6
bigcode/the-stack
train
63377a93b83b7843e2267560
train
class
class FS_FILTER_CALLBACKS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SizeOfFsFilterCallbacks = v_uint32() self.Reserved = v_uint32() self.PreAcquireForSectionSynchronization = v_ptr32() self.PostAcquireForSectionSynchronization = v_ptr32() ...
class FS_FILTER_CALLBACKS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SizeOfFsFilterCallbacks = v_uint32() self.Reserved = v_uint32() self.PreAcquireForSectionSynchronization = v_ptr32() self.PostAcquireForSectionSynchronization = v_ptr32() self.PreReleaseForSectionSynchronization ...
_unnamed_12918(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DockStatus = v_uint32() self.ListEntry = LIST_ENTRY() self.SerialNumber = v_ptr32() class FS_FILTER_CALLBACKS(vstruct.VStruct):
64
64
196
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FS_FILTER_CALLBACKS
FS_FILTER_CALLBACKS
4,137
4,153
4,137
4,137
bf069758b2eba2c672aae152a65c70640775b9b1
bigcode/the-stack
train
5b4e84331650b383415e4d12
train
class
class _unnamed_16505(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Mbr = _unnamed_16663() self._pad0010 = v_bytes(size=8)
class _unnamed_16505(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Mbr = _unnamed_16663() self._pad0010 = v_bytes(size=8)
vstruct.VStruct.__init__(self) self.OutputBufferLength = v_uint32() self.InputBufferLength = v_uint32() self.FsControlCode = v_uint32() self.Type3InputBuffer = v_ptr32() class _unnamed_16505(vstruct.VStruct):
64
64
54
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16505
_unnamed_16505
3,447
3,451
3,447
3,447
c74930c3df504e61d2bb9113e6a68d336279d103
bigcode/the-stack
train
8f4d5ffc57b62cee8902403a
train
class
class PHYSICAL_MEMORY_RUN(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BasePage = v_uint32() self.PageCount = v_uint32()
class PHYSICAL_MEMORY_RUN(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BasePage = v_uint32() self.PageCount = v_uint32()
.PriorityClass = v_uint8() self.WorkingSetAcquiredUnsafe = v_uint8() self._pad0258 = v_bytes(size=2) self.Cookie = v_uint32() self._pad0260 = v_bytes(size=4) class PHYSICAL_MEMORY_RUN(vstruct.VStruct):
64
64
45
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PHYSICAL_MEMORY_RUN
PHYSICAL_MEMORY_RUN
1,966
1,970
1,966
1,966
8d047a19da30ee795e4c8b3fc458e72503707192
bigcode/the-stack
train
8816f1852c788fac3f4650af
train
class
class LARGE_CONTROL_AREA(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Segment = v_ptr32() self.DereferenceList = LIST_ENTRY() self.NumberOfSectionReferences = v_uint32() self.NumberOfPfnReferences = v_uint32() self.NumberOfMappedViews = v_...
class LARGE_CONTROL_AREA(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Segment = v_ptr32() self.DereferenceList = LIST_ENTRY() self.NumberOfSectionReferences = v_uint32() self.NumberOfPfnReferences = v_uint32() self.NumberOfMappedViews = v_uint32() self.NumberOfSubsections =...
(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ListHead = LIST_ENTRY() self.Flags = v_uint32() self.Count = v_uint32() self.Stamp = v_uint32() class LARGE_CONTROL_AREA(vstruct.VStruct):
64
64
193
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
LARGE_CONTROL_AREA
LARGE_CONTROL_AREA
3,175
3,193
3,175
3,175
1d3d2dec75d8bc33ba3119747c82dc73b991a902
bigcode/the-stack
train
716b99495230810164fd15f0
train
class
class EX_QUEUE_WORKER_INFO(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.QueueDisabled = v_uint32()
class EX_QUEUE_WORKER_INFO(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.QueueDisabled = v_uint32()
LIST_ENTRY() self.SenderPort = v_ptr32() self.RepliedToThread = v_ptr32() self.PortContext = v_ptr32() self._pad0018 = v_bytes(size=4) self.Request = PORT_MESSAGE() class EX_QUEUE_WORKER_INFO(vstruct.VStruct):
64
64
37
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EX_QUEUE_WORKER_INFO
EX_QUEUE_WORKER_INFO
7,176
7,179
7,176
7,176
fbbb96f70df34d2e99a743f5599a1275949e5a30
bigcode/the-stack
train
4b531fd7b93d63ff40ec6252
train
class
class PCI_PDO_EXTENSION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.ExtensionType = v_uint32() self.IrpDispatchTable = v_ptr32() self.DeviceState = v_uint8() self.TentativeNextState = v_uint8() self._pad0010 ...
class PCI_PDO_EXTENSION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.ExtensionType = v_uint32() self.IrpDispatchTable = v_ptr32() self.DeviceState = v_uint8() self.TentativeNextState = v_uint8() self._pad0010 = v_bytes(size=2) self.SecondaryEx...
8() self.Flags = v_uint8() self.Control = v_uint8() self.Parameters = _unnamed_14762() self.DeviceObject = v_ptr32() self.FileObject = v_ptr32() self.CompletionRoutine = v_ptr32() self.Context = v_ptr32() class DBGKD_READ_WRITE_MSR(vstruct.VStruct): def __in...
184
184
616
10
174
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PCI_PDO_EXTENSION
PCI_PDO_EXTENSION
6,370
6,428
6,370
6,370
2e96c505e83157566a24e47101afb00264352f17
bigcode/the-stack
train
5f6c17b817460cbe6a3e0a99
train
class
class _unnamed_16627(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DeviceIds = vstruct.VArray([ v_uint16() for i in xrange(1) ])
class _unnamed_16627(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DeviceIds = vstruct.VArray([ v_uint16() for i in xrange(1) ])
ToCloseProcedure = v_ptr32() class VACB_LEVEL_REFERENCE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Reference = v_uint32() self.SpecialReference = v_uint32() class _unnamed_16627(vstruct.VStruct):
64
64
51
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16627
_unnamed_16627
1,484
1,487
1,484
1,484
11cc12a7577eb5c81a5f711da1879fbd2de5b1dd
bigcode/the-stack
train
1cd98174ea8d544336311fd1
train
class
class FAST_IO_DISPATCH(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SizeOfFastIoDispatch = v_uint32() self.FastIoCheckIfPossible = v_ptr32() self.FastIoRead = v_ptr32() self.FastIoWrite = v_ptr32() self.FastIoQueryBasicInfo = v_ptr32() ...
class FAST_IO_DISPATCH(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SizeOfFastIoDispatch = v_uint32() self.FastIoCheckIfPossible = v_ptr32() self.FastIoRead = v_ptr32() self.FastIoWrite = v_ptr32() self.FastIoQueryBasicInfo = v_ptr32() self.FastIoQueryStandardInfo = v_ptr...
ernBase = v_uint64() self.PsLoadedModuleList = v_uint64() self.DebuggerDataList = v_uint64() class _unnamed_16069(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.FileName = v_ptr32() self.FileInformationClass = v_ui...
104
104
349
10
94
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FAST_IO_DISPATCH
FAST_IO_DISPATCH
2,176
2,206
2,176
2,176
b5ceee6d33644311203a6d34fa3aed504dee8b13
bigcode/the-stack
train
83d4d9699051956a28328f29
train
class
class OBJECT_DIRECTORY_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ChainLink = v_ptr32() self.Object = v_ptr32()
class OBJECT_DIRECTORY_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ChainLink = v_ptr32() self.Object = v_ptr32()
) class ARBITER_ORDERING_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint16() self.Maximum = v_uint16() self.Orderings = v_ptr32() class OBJECT_DIRECTORY_ENTRY(vstruct.VStruct):
64
64
44
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
OBJECT_DIRECTORY_ENTRY
OBJECT_DIRECTORY_ENTRY
4,838
4,842
4,838
4,838
de1ad6b1a1f56a42da76e38d0dc226168cebf8cc
bigcode/the-stack
train
73d9e7942f218f5c12b49f36
train
class
class EX_WORK_QUEUE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.WorkerQueue = KQUEUE() self.DynamicThreadCount = v_uint32() self.WorkItemsProcessed = v_uint32() self.WorkItemsProcessedLastPass = v_uint32() self.QueueDepthLastPass = v_uint...
class EX_WORK_QUEUE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.WorkerQueue = KQUEUE() self.DynamicThreadCount = v_uint32() self.WorkItemsProcessed = v_uint32() self.WorkItemsProcessedLastPass = v_uint32() self.QueueDepthLastPass = v_uint32() self.Info = EX_QUEUE_WORK...
_TOKEN_AUDIT_DATA(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.GrantMask = v_uint32() self.DenyMask = v_uint32() class EX_WORK_QUEUE(vstruct.VStruct):
64
64
88
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EX_WORK_QUEUE
EX_WORK_QUEUE
1,440
1,448
1,440
1,440
d302ab385c61daaf5a8492a34c33ff2179780583
bigcode/the-stack
train
91abcc9dca230627866b0a8f
train
class
class SECURITY_QUALITY_OF_SERVICE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.ImpersonationLevel = v_uint32() self.ContextTrackingMode = v_uint8() self.EffectiveOnly = v_uint8() self._pad000c = v_bytes(size=2)
class SECURITY_QUALITY_OF_SERVICE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.ImpersonationLevel = v_uint32() self.ContextTrackingMode = v_uint8() self.EffectiveOnly = v_uint8() self._pad000c = v_bytes(size=2)
pad0028 = v_bytes(size=7) class CACHE_UNINITIALIZE_EVENT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Event = KEVENT() class SECURITY_QUALITY_OF_SERVICE(vstruct.VStruct):
64
64
80
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SECURITY_QUALITY_OF_SERVICE
SECURITY_QUALITY_OF_SERVICE
3,583
3,590
3,583
3,583
38620f83affdb0e0491a4ba0032e815e51d84aa2
bigcode/the-stack
train
35008b87ba59c1d777b98e9b
train
class
class FLOATING_SAVE_AREA(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ControlWord = v_uint32() self.StatusWord = v_uint32() self.TagWord = v_uint32() self.ErrorOffset = v_uint32() self.ErrorSelector = v_uint32() self.DataOffset = v...
class FLOATING_SAVE_AREA(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ControlWord = v_uint32() self.StatusWord = v_uint32() self.TagWord = v_uint32() self.ErrorOffset = v_uint32() self.ErrorSelector = v_uint32() self.DataOffset = v_uint32() self.DataSelector = v_uin...
) class _unnamed_11882(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ReadMemory = DBGKD_READ_MEMORY32() self._pad0028 = v_bytes(size=28) class FLOATING_SAVE_AREA(vstruct.VStruct):
64
64
125
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FLOATING_SAVE_AREA
FLOATING_SAVE_AREA
2,426
2,437
2,426
2,426
578ab95927a6286ea4803d2f4db2900480214220
bigcode/the-stack
train
df46b57c79a7cfb02174a690
train
class
class DBGKD_READ_WRITE_MSR(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Msr = v_uint32() self.DataValueLow = v_uint32() self.DataValueHigh = v_uint32()
class DBGKD_READ_WRITE_MSR(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Msr = v_uint32() self.DataValueLow = v_uint32() self.DataValueHigh = v_uint32()
= v_uint8() self.Parameters = _unnamed_14762() self.DeviceObject = v_ptr32() self.FileObject = v_ptr32() self.CompletionRoutine = v_ptr32() self.Context = v_ptr32() class DBGKD_READ_WRITE_MSR(vstruct.VStruct):
64
64
58
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_READ_WRITE_MSR
DBGKD_READ_WRITE_MSR
6,355
6,360
6,355
6,355
f7cc9559b02b1f832f6203dea78f2647c98854cf
bigcode/the-stack
train
0effb67afec4c618ede3e0b0
train
class
class DUMP_INITIALIZATION_CONTEXT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.Reserved = v_uint32() self.MemoryBlock = v_ptr32() self.CommonBuffer = vstruct.VArray([ v_ptr32() for i in xrange(2) ]) self._pad0018 =...
class DUMP_INITIALIZATION_CONTEXT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.Reserved = v_uint32() self.MemoryBlock = v_ptr32() self.CommonBuffer = vstruct.VArray([ v_ptr32() for i in xrange(2) ]) self._pad0018 = v_bytes(size=4) self.PhysicalAddress = vstr...
vstruct.VStruct.__init__(self) self.Revision = v_uint8() self.Sbz1 = v_uint8() self.Control = v_uint16() self.Owner = v_uint32() self.Group = v_uint32() self.Sacl = v_uint32() self.Dacl = v_uint32() class DUMP_INITIALIZATION_CONTEXT(vstruct.VStruct):
82
82
276
11
71
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DUMP_INITIALIZATION_CONTEXT
DUMP_INITIALIZATION_CONTEXT
5,759
5,783
5,759
5,759
13e2a7a841eb596a45cbf29632a20118ae393cec
bigcode/the-stack
train
96048a5b7dd429a6e2f90cd8
train
class
class MMVIEW(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Entry = v_uint32() self.ControlArea = v_ptr32()
class MMVIEW(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Entry = v_uint32() self.ControlArea = v_ptr32()
(3) ]) self.Type = v_uint32() class ARBITER_ORDERING(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Start = v_uint64() self.End = v_uint64() class MMVIEW(vstruct.VStruct):
64
64
42
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMVIEW
MMVIEW
6,985
6,989
6,985
6,985
5a16628a3aafa20abbe0b5d5d57755c939f4d49c
bigcode/the-stack
train
f698d8935e40326908e435c5
train
class
class IO_TIMER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.TimerFlag = v_uint16() self.TimerList = LIST_ENTRY() self.TimerRoutine = v_ptr32() self.Context = v_ptr32() self.DeviceObject = v_ptr32()
class IO_TIMER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.TimerFlag = v_uint16() self.TimerList = LIST_ENTRY() self.TimerRoutine = v_ptr32() self.Context = v_ptr32() self.DeviceObject = v_ptr32()
.VStruct.__init__(self) self.PolicyElements = SEP_AUDIT_POLICY_CATEGORIES() class MMPTE_SOFTWARE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32() class IO_TIMER(vstruct.VStruct):
64
64
76
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
IO_TIMER
IO_TIMER
1,360
1,368
1,360
1,360
3c3f959d6c569dc425ac31341c7c1204ea040593
bigcode/the-stack
train
5db2b9a08d458517f603777e
train
class
class PS_JOB_TOKEN_FILTER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.CapturedSidCount = v_uint32() self.CapturedSids = v_ptr32() self.CapturedSidsLength = v_uint32() self.CapturedGroupCount = v_uint32() self.CapturedGroups = v_ptr32() ...
class PS_JOB_TOKEN_FILTER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.CapturedSidCount = v_uint32() self.CapturedSids = v_ptr32() self.CapturedSidsLength = v_uint32() self.CapturedGroupCount = v_uint32() self.CapturedGroups = v_ptr32() self.CapturedGroupsLength = v_uint32()...
PO_HIBER_PERF() class _unnamed_16128(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SecurityInformation = v_uint32() self.SecurityDescriptor = v_ptr32() class PS_JOB_TOKEN_FILTER(vstruct.VStruct):
64
64
125
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PS_JOB_TOKEN_FILTER
PS_JOB_TOKEN_FILTER
4,665
4,676
4,665
4,665
bd8e0ccd9a2389fe29af51d90a3d01a4974af37e
bigcode/the-stack
train