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
d309983f4d134e5946467cc7
train
class
class HBASE_BLOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.Sequence1 = v_uint32() self.Sequence2 = v_uint32() self.TimeStamp = LARGE_INTEGER() self.Major = v_uint32() self.Minor = v_uint32() ...
class HBASE_BLOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.Sequence1 = v_uint32() self.Sequence2 = v_uint32() self.TimeStamp = LARGE_INTEGER() self.Major = v_uint32() self.Minor = v_uint32() self.Type = v_uint32() self....
LIST_ENTRY() self.Claim = v_uint32() self.NextEstimationSlot = v_uint32() self.NextAgingSlot = v_uint32() self.EstimatedAvailable = v_uint32() self.GrowthSinceLastEstimate = v_uint32() class HBASE_BLOCK(vstruct.VStruct):
65
65
217
9
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HBASE_BLOCK
HBASE_BLOCK
5,138
5,157
5,138
5,138
15ed7abb279dfeed8c88aa9f924d32740e122007
bigcode/the-stack
train
9c63e989eaed3d5f533bb978
train
class
class WMI_CLIENT_CONTEXT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ProcessorNumber = v_uint8() self.Alignment = v_uint8() self.LoggerId = v_uint16()
class WMI_CLIENT_CONTEXT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ProcessorNumber = v_uint8() self.Alignment = v_uint8() self.LoggerId = v_uint16()
__init__(self): vstruct.VStruct.__init__(self) self.Offset = v_uint32() self.HDC = v_uint32() self.Buffer = vstruct.VArray([ v_uint32() for i in xrange(310) ]) class WMI_CLIENT_CONTEXT(vstruct.VStruct):
63
64
54
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
WMI_CLIENT_CONTEXT
WMI_CLIENT_CONTEXT
6,234
6,239
6,234
6,234
ddbdf378e8534c22394ca7933f99cd620e832991
bigcode/the-stack
train
1d14a48ac3874772e03d9782
train
class
class CMP_OFFSET_ARRAY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.FileOffset = v_uint32() self.DataBuffer = v_ptr32() self.DataLength = v_uint32()
class CMP_OFFSET_ARRAY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.FileOffset = v_uint32() self.DataBuffer = v_ptr32() self.DataLength = v_uint32()
= v_uint32() self.ErrorSelector = v_uint32() self.DataOffset = v_uint32() self.DataSelector = v_uint32() self.RegisterArea = vstruct.VArray([ v_uint8() for i in xrange(80) ]) class CMP_OFFSET_ARRAY(vstruct.VStruct):
63
64
53
9
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CMP_OFFSET_ARRAY
CMP_OFFSET_ARRAY
3,909
3,914
3,909
3,909
b2df9b522b52a6bb1a531f9d99856ff2d57dfae3
bigcode/the-stack
train
ae2b85b63bd3b806a6513504
train
class
class _unnamed_16131(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Vpb = v_ptr32() self.DeviceObject = v_ptr32()
class _unnamed_16131(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Vpb = v_ptr32() self.DeviceObject = v_ptr32()
.__init__(self) self.Srb = v_ptr32() class _unnamed_16642(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BlockedDriverGuid = GUID() class _unnamed_16131(vstruct.VStruct):
64
64
47
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16131
_unnamed_16131
6,649
6,653
6,649
6,649
67e0628357a73930387a1b763b0b6fe0b72cbfb9
bigcode/the-stack
train
10f02d5f712147bd421b70f0
train
class
class _unnamed_14549(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BaseMid = v_uint32()
class _unnamed_14549(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BaseMid = v_uint32()
xrange(8) ]) self.SourceIdentifier = LUID() class _unnamed_16561(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.AllocatedResources = v_ptr32() class _unnamed_14549(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14549
_unnamed_14549
5,834
5,837
5,834
5,834
a9775fb71d31ce1c3c51161223b32010a93b9d96
bigcode/the-stack
train
57a943ee0656028f0eb41dbe
train
class
class CM_NAME_HASH(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ConvKey = v_uint32() self.NextHash = v_ptr32() self.NameLength = v_uint16() self.Name = vstruct.VArray([ v_uint16() for i in xrange(1) ])
class CM_NAME_HASH(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ConvKey = v_uint32() self.NextHash = v_ptr32() self.NameLength = v_uint16() self.Name = vstruct.VArray([ v_uint16() for i in xrange(1) ])
= v_ptr32() self.u2 = _unnamed_14103() class _unnamed_13227(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LongFlags = v_uint32() class CM_NAME_HASH(vstruct.VStruct):
64
64
74
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CM_NAME_HASH
CM_NAME_HASH
7,130
7,136
7,130
7,130
e7f6439c75a19700d7ab37a3db34602577f9b492
bigcode/the-stack
train
1fd37db0a33ae79ef3d92519
train
class
class VI_POOL_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.InUse = VI_POOL_ENTRY_INUSE()
class VI_POOL_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.InUse = VI_POOL_ENTRY_INUSE()
= v_ptr32() self.ModifiedWriteCount = v_uint16() self.NumberOfSystemCacheViews = v_uint16() self.StartingFrame = v_uint32() self.UserGlobalList = LIST_ENTRY() self.SessionId = v_uint32() class VI_POOL_ENTRY(vstruct.VStruct):
64
64
37
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
VI_POOL_ENTRY
VI_POOL_ENTRY
3,196
3,199
3,196
3,196
30c9cfb432258939d50639264097ffd99c551599
bigcode/the-stack
train
30a835ab3905e6ea47963626
train
class
class _unnamed_16081(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.FileInformationClass = v_uint32() self.FileObject = v_ptr32() self.ReplaceIfExists = v_uint8() self.AdvanceOnly = v_uint8() self._pad0010 = ...
class _unnamed_16081(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.FileInformationClass = v_uint32() self.FileObject = v_ptr32() self.ReplaceIfExists = v_uint8() self.AdvanceOnly = v_uint8() self._pad0010 = v_bytes(size=2)
(3) ]) class _unnamed_16307(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.MinimumChannel = v_uint32() self.MaximumChannel = v_uint32() class _unnamed_16081(vstruct.VStruct):
64
64
89
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16081
_unnamed_16081
5,728
5,736
5,728
5,728
15f8470521162ec2e025aab1a6d11f9450296847
bigcode/the-stack
train
c6db86cbc86ce2fc96857c3d
train
class
class _unnamed_16230(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PowerState = v_uint32()
class _unnamed_16230(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.PowerState = v_uint32()
SpaceViewTable = v_ptr32() self.SystemSpaceHashSize = v_uint32() self.SystemSpaceHashEntries = v_uint32() self.SystemSpaceHashKey = v_uint32() self.SystemSpaceBitMap = v_ptr32() class _unnamed_16230(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16230
_unnamed_16230
4,947
4,950
4,947
4,947
24e7e6be44a5e34fb2bea010a498d31aa130208d
bigcode/the-stack
train
d8f3aea5343c3ce9ba86264c
train
class
class MM_PAGED_POOL_INFO(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PagedPoolAllocationMap = v_ptr32() self.EndOfPagedPoolBitmap = v_ptr32() self.PagedPoolLargeSessionAllocationMap = v_ptr32() self.FirstPteForPagedPool = v_ptr32() self.L...
class MM_PAGED_POOL_INFO(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.PagedPoolAllocationMap = v_ptr32() self.EndOfPagedPoolBitmap = v_ptr32() self.PagedPoolLargeSessionAllocationMap = v_ptr32() self.FirstPteForPagedPool = v_ptr32() self.LastPteForPagedPool = v_ptr32() self...
.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.DueTime = ULARGE_INTEGER() self.TimerListEntry = LIST_ENTRY() self.Dpc = v_ptr32() self.Period = v_uint32() class MM_PAGED_POOL_INFO(vstruct.VStruct):
64
64
139
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MM_PAGED_POOL_INFO
MM_PAGED_POOL_INFO
2,022
2,033
2,022
2,022
1f12f595a619b8d0adb404f261de8b945ddd074b
bigcode/the-stack
train
f3624d3100b602d62bf4b9a6
train
class
class CM_KEY_CONTROL_BLOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.RefCount = v_uint32() self.ExtFlags = v_uint32() self.KeyHash = CM_KEY_HASH() self.ParentKcb = v_ptr32() self.NameBlock = v_ptr32() self.CachedSecurity = v_ptr...
class CM_KEY_CONTROL_BLOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.RefCount = v_uint32() self.ExtFlags = v_uint32() self.KeyHash = CM_KEY_HASH() self.ParentKcb = v_ptr32() self.NameBlock = v_ptr32() self.CachedSecurity = v_ptr32() self.ValueCache = CACHED_CHILD_L...
dlWriteCompleteCompressed = v_ptr32() self.FastIoQueryOpen = v_ptr32() self.ReleaseForModWrite = v_ptr32() self.AcquireForCcFlush = v_ptr32() self.ReleaseForCcFlush = v_ptr32() class CM_KEY_CONTROL_BLOCK(vstruct.VStruct):
64
64
185
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CM_KEY_CONTROL_BLOCK
CM_KEY_CONTROL_BLOCK
2,209
2,226
2,209
2,209
f1fee1d4c7315b0b94b3b84432182fc1b140ec89
bigcode/the-stack
train
2d354c18600f85864c7150e4
train
class
class HHIVE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.GetCellRoutine = v_ptr32() self.ReleaseCellRoutine = v_ptr32() self.Allocate = v_ptr32() self.Free = v_ptr32() self.FileSetSize = v_ptr32() ...
class HHIVE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.GetCellRoutine = v_ptr32() self.ReleaseCellRoutine = v_ptr32() self.Allocate = v_ptr32() self.Free = v_ptr32() self.FileSetSize = v_ptr32() self.FileWrite = v_ptr32() ...
fInfo = PO_HIBER_PERF() class HEAP_UCR_SEGMENT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.ReservedSize = v_uint32() self.CommittedSize = v_uint32() self.filler = v_uint32() class HHIVE(vstruct.VStruct):
84
84
280
8
76
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HHIVE
HHIVE
2,898
2,926
2,898
2,898
e17f58221420a0d655f4d10f45ec47a9d4129378
bigcode/the-stack
train
d9677d0c8a4a83600463562a
train
class
class MMPFNENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Modified = v_uint32()
class MMPFNENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Modified = v_uint32()
ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LimitLow = v_uint16() self.BaseLow = v_uint16() self.HighWord = _unnamed_13092() class MMPFNENTRY(vstruct.VStruct):
64
64
35
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMPFNENTRY
MMPFNENTRY
4,896
4,899
4,896
4,896
b2aae70bd8ae069cce19147a8712e77abac4e9fa
bigcode/the-stack
train
f6c7684f35a3f4ff718c8e7e
train
class
class HEAP_STOP_ON_TAG(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.HeapAndTagIndex = v_uint32()
class HEAP_STOP_ON_TAG(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.HeapAndTagIndex = v_uint32()
def __init__(self): vstruct.VStruct.__init__(self) self.L = GENERAL_LOOKASIDE() self.Lock__ObsoleteButDoNotDelete = FAST_MUTEX() self._pad0100 = v_bytes(size=96) class HEAP_STOP_ON_TAG(vstruct.VStruct):
64
64
40
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_STOP_ON_TAG
HEAP_STOP_ON_TAG
1,659
1,662
1,659
1,659
043e0ecff4b40535be9aecd3bbffe4d7417784fd
bigcode/the-stack
train
54e43e698f8ce780e3914913
train
class
class PCI_BUS_INTERFACE_STANDARD(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint16() self.Version = v_uint16() self.Context = v_ptr32() self.InterfaceReference = v_ptr32() self.InterfaceDereference = v_ptr32() self.ReadC...
class PCI_BUS_INTERFACE_STANDARD(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint16() self.Version = v_uint16() self.Context = v_ptr32() self.InterfaceReference = v_ptr32() self.InterfaceDereference = v_ptr32() self.ReadConfig = v_ptr32() self.WriteConfig = v_ptr3...
TransferCount = v_uint64() class _unnamed_16380(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DataLength = v_uint16() self.TotalLength = v_uint16() class PCI_BUS_INTERFACE_STANDARD(vstruct.VStruct):
64
64
108
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PCI_BUS_INTERFACE_STANDARD
PCI_BUS_INTERFACE_STANDARD
4,429
4,440
4,429
4,429
0eeec02e407abeedef53dd4d3ff43d0c1a443975
bigcode/the-stack
train
d6e981c078e925c036a886fc
train
class
class SID_IDENTIFIER_AUTHORITY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Value = vstruct.VArray([ v_uint8() for i in xrange(6) ])
class SID_IDENTIFIER_AUTHORITY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Value = vstruct.VArray([ v_uint8() for i in xrange(6) ])
_TRACKER_BIG_PAGES(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Va = v_ptr32() self.Key = v_uint32() self.NumberOfPages = v_uint32() class SID_IDENTIFIER_AUTHORITY(vstruct.VStruct):
64
64
48
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SID_IDENTIFIER_AUTHORITY
SID_IDENTIFIER_AUTHORITY
3,160
3,163
3,160
3,160
a4a5a1f5017b83d51b359354ef34edb676c48cb6
bigcode/the-stack
train
3fce7f4144ef142a118b0470
train
class
class _unnamed_16213(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.IdType = v_uint32()
class _unnamed_16213(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.IdType = v_uint32()
.DemotePercent = v_uint8() self.PromotePercent = v_uint8() self.Spare = vstruct.VArray([ v_uint8() for i in xrange(2) ]) self.AllowDemotion = v_uint32() class _unnamed_16213(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16213
_unnamed_16213
1,597
1,600
1,597
1,597
d9a65c28a070dca8f9ab05a3c4b9e25e76efed64
bigcode/the-stack
train
c84f4bb5870b775ffe0e944e
train
class
class PLUGPLAY_EVENT_BLOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.EventGuid = GUID() self.EventCategory = v_uint32() self.Result = v_ptr32() self.Flags = v_uint32() self.TotalSize = v_uint32() self.DeviceObject = v_ptr32() ...
class PLUGPLAY_EVENT_BLOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.EventGuid = GUID() self.EventCategory = v_uint32() self.Result = v_ptr32() self.Flags = v_uint32() self.TotalSize = v_uint32() self.DeviceObject = v_ptr32() self.u = _unnamed_15795()
Time = LARGE_INTEGER() self.LastAccessTime = LARGE_INTEGER() self.LastWriteTime = LARGE_INTEGER() self.ChangeTime = LARGE_INTEGER() self.FileAttributes = v_uint32() self._pad0028 = v_bytes(size=4) class PLUGPLAY_EVENT_BLOCK(vstruct.VStruct):
64
64
89
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PLUGPLAY_EVENT_BLOCK
PLUGPLAY_EVENT_BLOCK
5,450
5,459
5,450
5,450
3a1727b6a3ebd939aff18beed201a77b3f6f31ed
bigcode/the-stack
train
da4d0c7f1c162cc0a56c0839
train
class
class _unnamed_16158(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.InterfaceType = v_ptr32() self.Size = v_uint16() self.Version = v_uint16() self.Interface = v_ptr32() self.InterfaceSpecificData = v_ptr32()
class _unnamed_16158(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.InterfaceType = v_ptr32() self.Size = v_uint16() self.Version = v_uint16() self.Interface = v_ptr32() self.InterfaceSpecificData = v_ptr32()
_uint32() self.SameThreadApcFlags = v_uint32() self.ForwardClusterOnly = v_uint8() self.DisablePageFaultClustering = v_uint8() self._pad0258 = v_bytes(size=2) class _unnamed_16158(vstruct.VStruct):
64
64
72
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16158
_unnamed_16158
4,303
4,310
4,303
4,303
867ccb0143ff3e147ec85c6e25e7b01ed41bf524
bigcode/the-stack
train
6f2844a21e1bc0263bbff956
train
class
class WMI_BUFFER_HEADER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Wnode = WNODE_HEADER() self.Offset = v_uint32() self.EventsLost = v_uint32() self.InstanceGuid = GUID()
class WMI_BUFFER_HEADER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Wnode = WNODE_HEADER() self.Offset = v_uint32() self.EventsLost = v_uint32() self.InstanceGuid = GUID()
self.AllocTag = HEAP_STOP_ON_TAG() self.ReAllocAddress = v_uint32() self.ReAllocTag = HEAP_STOP_ON_TAG() self.FreeAddress = v_uint32() self.FreeTag = HEAP_STOP_ON_TAG() class WMI_BUFFER_HEADER(vstruct.VStruct):
64
64
60
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
WMI_BUFFER_HEADER
WMI_BUFFER_HEADER
4,074
4,080
4,074
4,074
fffc6b1810949c0fccfab984991f28201841fbbe
bigcode/the-stack
train
5d76794a68c1c2682c0e9c7f
train
class
class RTL_ATOM_TABLE_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.HashLink = v_ptr32() self.HandleIndex = v_uint16() self.Atom = v_uint16() self.ReferenceCount = v_uint16() self.Flags = v_uint8() self.NameLength = v_uint8() ...
class RTL_ATOM_TABLE_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.HashLink = v_ptr32() self.HandleIndex = v_uint16() self.Atom = v_uint16() self.ReferenceCount = v_uint16() self.Flags = v_uint8() self.NameLength = v_uint8() self.Name = vstruct.VArray([ v_uint16(...
= v_uint32() self.BitmapRanges = LIST_ENTRY() self.ResumeWritePage = v_uint64() self.BitmapRange1 = BITMAP_RANGE() self.BitmapRange2 = BITMAP_RANGE() self.BitmapRange3 = BITMAP_RANGE() class RTL_ATOM_TABLE_ENTRY(vstruct.VStruct):
64
64
115
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
RTL_ATOM_TABLE_ENTRY
RTL_ATOM_TABLE_ENTRY
6,555
6,565
6,555
6,555
716392ebc0085e06beea6aa3ee353495dcd48184
bigcode/the-stack
train
dc138b7adaa3b28f24eaafa1
train
class
class _unnamed_11794(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ReadMemory = DBGKD_READ_MEMORY64() self._pad0028 = v_bytes(size=24)
class _unnamed_11794(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ReadMemory = DBGKD_READ_MEMORY64() self._pad0028 = v_bytes(size=24)
__init__(self): vstruct.VStruct.__init__(self) self.L = GENERAL_LOOKASIDE() self.Lock__ObsoleteButDoNotDelete = v_uint32() self._pad0100 = v_bytes(size=124) class _unnamed_11794(vstruct.VStruct):
64
64
53
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_11794
_unnamed_11794
1,708
1,712
1,708
1,708
bf8a03b6fa0476bc36181c3a64a91468bdff1b46
bigcode/the-stack
train
3c136c9f4b1bf95a5baa6d22
train
class
class _unnamed_16642(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BlockedDriverGuid = GUID()
class _unnamed_16642(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BlockedDriverGuid = GUID()
Struct.__init__(self) self.Alignment = v_uint64() class _unnamed_16135(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Srb = v_ptr32() class _unnamed_16642(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16642
_unnamed_16642
6,643
6,646
6,643
6,643
d8857892497c9cf2ed787f4f506a71be92f19096
bigcode/the-stack
train
714523b8e78f45d14bd38b69
train
class
class CM_VIEW_OF_FILE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LRUViewList = LIST_ENTRY() self.PinViewList = LIST_ENTRY() self.FileOffset = v_uint32() self.Size = v_uint32() self.ViewAddress = v_ptr32() self.Bcb = v_ptr32() ...
class CM_VIEW_OF_FILE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.LRUViewList = LIST_ENTRY() self.PinViewList = LIST_ENTRY() self.FileOffset = v_uint32() self.Size = v_uint32() self.ViewAddress = v_ptr32() self.Bcb = v_ptr32() self.UseCount = v_uint32()
te = v_ptr32() self.LastContiguousPte = v_ptr32() self.u2 = _unnamed_14103() self.u3 = _unnamed_14104() self.u4 = _unnamed_14105() class CM_VIEW_OF_FILE(vstruct.VStruct):
64
64
90
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CM_VIEW_OF_FILE
CM_VIEW_OF_FILE
2,112
2,121
2,112
2,112
9a30aec30ec879725919cc0a551ce5f767d8b35b
bigcode/the-stack
train
18cccb6137529169adb396ad
train
class
class SECTION_IMAGE_INFORMATION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.TransferAddress = v_ptr32() self.ZeroBits = v_uint32() self.MaximumStackSize = v_uint32() self.CommittedStackSize = v_uint32() self.SubSystemType = v_uint32() ...
class SECTION_IMAGE_INFORMATION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.TransferAddress = v_ptr32() self.ZeroBits = v_uint32() self.MaximumStackSize = v_uint32() self.CommittedStackSize = v_uint32() self.SubSystemType = v_uint32() self.SubSystemMinorVersion = v_uint16() ...
self): vstruct.VStruct.__init__(self) self.SecurityContext = v_ptr32() self.Options = v_uint32() self.Reserved = v_uint16() self.ShareAccess = v_uint16() self.Parameters = v_ptr32() class SECTION_IMAGE_INFORMATION(vstruct.VStruct):
64
64
196
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SECTION_IMAGE_INFORMATION
SECTION_IMAGE_INFORMATION
6,487
6,505
6,487
6,487
ec1ad88f06094bc18da8c2bf875708f98937b41b
bigcode/the-stack
train
fc207ef99a04e98279027714
train
class
class DBGKD_READ_WRITE_IO32(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DataSize = v_uint32() self.IoAddress = v_uint32() self.DataValue = v_uint32()
class DBGKD_READ_WRITE_IO32(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DataSize = v_uint32() self.IoAddress = v_uint32() self.DataValue = v_uint32()
self.WaitListEntry = LIST_ENTRY() self.Thread = v_ptr32() self.Object = v_ptr32() self.NextWaitBlock = v_ptr32() self.WaitKey = v_uint16() self.WaitType = v_uint16() class DBGKD_READ_WRITE_IO32(vstruct.VStruct):
64
64
57
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_READ_WRITE_IO32
DBGKD_READ_WRITE_IO32
4,603
4,608
4,603
4,603
8fc55b519cf0132cfc3b2cb3089d4590c2cd1320
bigcode/the-stack
train
28fd4b0a5101ab36548ea5a4
train
class
class DBGKD_SET_INTERNAL_BREAKPOINT32(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BreakpointAddress = v_uint32() self.Flags = v_uint32()
class DBGKD_SET_INTERNAL_BREAKPOINT32(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BreakpointAddress = v_uint32() self.Flags = v_uint32()
self.HighWaterNumberOfHandles = v_uint32() self.TypeInfo = OBJECT_TYPE_INITIALIZER() self.Key = v_uint32() self.ObjectLocks = vstruct.VArray([ ERESOURCE() for i in xrange(4) ]) class DBGKD_SET_INTERNAL_BREAKPOINT32(vstruct.VStruct):
63
64
49
13
50
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_SET_INTERNAL_BREAKPOINT32
DBGKD_SET_INTERNAL_BREAKPOINT32
5,248
5,252
5,248
5,248
5855613a869cb15892fe2a6996a41016260a67fd
bigcode/the-stack
train
2d90c5fd677af28017146df8
train
class
class KTRAP_FRAME(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DbgEbp = v_uint32() self.DbgEip = v_uint32() self.DbgArgMark = v_uint32() self.DbgArgPointer = v_uint32() self.TempSegCs = v_uint32() self.TempEsp = v_uint32() ...
class KTRAP_FRAME(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DbgEbp = v_uint32() self.DbgEip = v_uint32() self.DbgArgMark = v_uint32() self.DbgArgPointer = v_uint32() self.TempSegCs = v_uint32() self.TempEsp = v_uint32() self.Dr0 = v_uint32() self.D...
v_ptr32() class MDL(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Size = v_uint16() self.MdlFlags = v_uint16() self.Process = v_ptr32() self.MappedSystemVa = v_ptr32() self.StartVa = v_ptr32() self.B...
111
111
371
10
101
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KTRAP_FRAME
KTRAP_FRAME
1,301
1,338
1,301
1,301
6846c25d7a22fc6fb7f8b942c67b18af4ce2de09
bigcode/the-stack
train
b13c3aa02af31dc6baf01a14
train
class
class HEAP_SUBSEGMENT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Bucket = v_ptr32() self.UserBlocks = v_ptr32() self.AggregateExchg = INTERLOCK_SEQ() self.BlockSize = v_uint16() self.FreeThreshold = v_uint16() self.BlockCount = v...
class HEAP_SUBSEGMENT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Bucket = v_ptr32() self.UserBlocks = v_ptr32() self.AggregateExchg = INTERLOCK_SEQ() self.BlockSize = v_uint16() self.FreeThreshold = v_uint16() self.BlockCount = v_uint16() self.SizeIndex = v_uin...
() self.Spare1 = v_uint8() self.LoaderFlags = v_uint32() self.ImageFileSize = v_uint32() self.Reserved = vstruct.VArray([ v_uint32() for i in xrange(1) ]) class HEAP_SUBSEGMENT(vstruct.VStruct):
63
64
123
11
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_SUBSEGMENT
HEAP_SUBSEGMENT
6,508
6,520
6,508
6,508
0592c0a6ff0ac71f5f3e7a4a07a37dd515e3e19f
bigcode/the-stack
train
1820f64fba50b91c279c24a8
train
class
class CONTEXT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ContextFlags = v_uint32() self.Dr0 = v_uint32() self.Dr1 = v_uint32() self.Dr2 = v_uint32() self.Dr3 = v_uint32() self.Dr6 = v_uint32() self.Dr7 = v_uint32() ...
class CONTEXT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ContextFlags = v_uint32() self.Dr0 = v_uint32() self.Dr1 = v_uint32() self.Dr2 = v_uint32() self.Dr3 = v_uint32() self.Dr6 = v_uint32() self.Dr7 = v_uint32() self.FloatSave = FLOATING_SAVE...
32() class ADAPTER_OBJECT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) class _unnamed_10508(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LowPart = v_uint32() self.HighPart = v_uint32() class CONTEXT(vstruct.VStruct):
83
83
277
8
75
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CONTEXT
CONTEXT
2,616
2,643
2,616
2,616
a2b7d3b72d5f015115ca588350434f61479be558
bigcode/the-stack
train
807041b211e149e14bee8c81
train
class
class MMPTE_TRANSITION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
class MMPTE_TRANSITION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
Allocates = v_uint32() self.LastAllocateMisses = v_uint32() self.Counters = vstruct.VArray([ v_uint32() for i in xrange(2) ]) self._pad0030 = v_bytes(size=4) class MMPTE_TRANSITION(vstruct.VStruct):
64
64
36
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMPTE_TRANSITION
MMPTE_TRANSITION
999
1,002
999
999
083fb8bfd4ee512bb5c241ddaa4d30d684195592
bigcode/the-stack
train
cb25182417df92fb0391c490
train
class
class _unnamed_14544(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BaseMid = v_uint8() self.Flags1 = v_uint8() self.Flags2 = v_uint8() self.BaseHi = v_uint8()
class _unnamed_14544(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BaseMid = v_uint8() self.Flags1 = v_uint8() self.Flags2 = v_uint8() self.BaseHi = v_uint8()
Struct): def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionRecord = EXCEPTION_RECORD64() self.FirstChance = v_uint32() self._pad00a0 = v_bytes(size=4) class _unnamed_14544(vstruct.VStruct):
64
64
65
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14544
_unnamed_14544
5,854
5,860
5,854
5,854
4b25261e2a0e7dc3fff5799b0c96b48607e557de
bigcode/the-stack
train
7350235d12f004e389d713e9
train
class
class IMAGE_DEBUG_DIRECTORY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Characteristics = v_uint32() self.TimeDateStamp = v_uint32() self.MajorVersion = v_uint16() self.MinorVersion = v_uint16() self.Type = v_uint32() self.SizeOfD...
class IMAGE_DEBUG_DIRECTORY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Characteristics = v_uint32() self.TimeDateStamp = v_uint32() self.MajorVersion = v_uint16() self.MinorVersion = v_uint16() self.Type = v_uint32() self.SizeOfData = v_uint32() self.AddressOfRawData...
def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint16() self.Count = v_uint16() self.List = vstruct.VArray([ v_uint32() for i in xrange(1) ]) class IMAGE_DEBUG_DIRECTORY(vstruct.VStruct):
63
64
105
9
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
IMAGE_DEBUG_DIRECTORY
IMAGE_DEBUG_DIRECTORY
6,088
6,098
6,088
6,088
097b4ad8eafd1956feffd04f0c1cb10bbcad0570
bigcode/the-stack
train
c4708d515d519fa4ab6c82d5
train
class
class MI_VERIFIER_POOL_HEADER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ListIndex = v_uint32() self.Verifier = v_ptr32()
class MI_VERIFIER_POOL_HEADER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ListIndex = v_uint32() self.Verifier = v_ptr32()
_MAP() class TRACE_ENABLE_FLAG_EXTENSION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Offset = v_uint16() self.Length = v_uint8() self.Flag = v_uint8() class MI_VERIFIER_POOL_HEADER(vstruct.VStruct):
64
64
46
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MI_VERIFIER_POOL_HEADER
MI_VERIFIER_POOL_HEADER
3,265
3,269
3,265
3,265
feebffef6a0a51a67e05b18c9b03eb5de0be6df5
bigcode/the-stack
train
c675f6c08a3cdb4d959d74cb
train
class
class POOL_BLOCK_HEAD(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Header = POOL_HEADER() self.List = LIST_ENTRY()
class POOL_BLOCK_HEAD(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Header = POOL_HEADER() self.List = LIST_ENTRY()
2) class EX_PUSH_LOCK_CACHE_AWARE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Locks = vstruct.VArray([ v_ptr32() for i in xrange(1) ]) class POOL_BLOCK_HEAD(vstruct.VStruct):
63
64
42
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
POOL_BLOCK_HEAD
POOL_BLOCK_HEAD
1,201
1,205
1,201
1,201
a99274fa030a3fcf3818c66fc37f8534e1c0916e
bigcode/the-stack
train
c647a26118a14c359d2520d3
train
class
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 POWER_SEQUENCE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SequenceD1 = v_uint32() self.SequenceD2 = v_uint32() self.SequenceD3 = v_uint32()
struct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.U = _unnamed_10880() self.NpxSavedCpu = v_uint32() self.Cr0NpxState = v_uint32() class POWER_SEQUENCE(vstruct.VStruct):
64
64
55
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
POWER_SEQUENCE
POWER_SEQUENCE
2,004
2,009
2,004
2,004
a1c84e9b930300ad642a3792e71120880018fb26
bigcode/the-stack
train
d97d7a5c91caf6e741932796
train
class
class EX_PUSH_LOCK_WAIT_BLOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.WakeEvent = KEVENT() self.Next = v_ptr32() self.ShareCount = v_uint32() self.Exclusive = v_uint8() self._pad001c = v_bytes(size=3)
class EX_PUSH_LOCK_WAIT_BLOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.WakeEvent = KEVENT() self.Next = v_ptr32() self.ShareCount = v_uint32() self.Exclusive = v_uint8() self._pad001c = v_bytes(size=3)
init__(self) self.ConvKey = v_uint32() self.NextHash = v_ptr32() self.NameLength = v_uint16() self.Name = vstruct.VArray([ v_uint16() for i in xrange(1) ]) class EX_PUSH_LOCK_WAIT_BLOCK(vstruct.VStruct):
63
64
76
11
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EX_PUSH_LOCK_WAIT_BLOCK
EX_PUSH_LOCK_WAIT_BLOCK
7,139
7,146
7,139
7,139
9a98582b8802942d2d18f375453a05a944c703a1
bigcode/the-stack
train
e718f06778a8f6ea5cd48c85
train
class
class _unnamed_16780(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ResourceToRelease = v_ptr32()
class _unnamed_16780(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ResourceToRelease = v_ptr32()
.VStruct.__init__(self) self.Argument1 = v_ptr32() self.Argument2 = v_ptr32() self.Argument3 = v_ptr32() self.Argument4 = v_ptr32() self.Argument5 = v_ptr32() class _unnamed_16780(vstruct.VStruct):
64
64
39
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16780
_unnamed_16780
2,390
2,393
2,390
2,390
86dae0cc086be4b4d22b19c9f9d6c1ce15354449
bigcode/the-stack
train
83f0ba4eff4ea17b014fa0a6
train
class
class _unnamed_16107(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.FsInformationClass = v_uint32()
class _unnamed_16107(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.FsInformationClass = v_uint32()
.MaxIndex = v_uint32() self.SpinLock = v_uint32() self.Reserved = v_ptr32() self.WatchInfo = vstruct.VArray([ PROCESS_WS_WATCH_INFORMATION() for i in xrange(1) ]) class _unnamed_16107(vstruct.VStruct):
63
64
48
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16107
_unnamed_16107
1,253
1,257
1,253
1,253
c6751956c33e76db8a3a8b97a74e35eddf4e77f1
bigcode/the-stack
train
54a71373a8bcacafa40fd88f
train
class
class OBJECT_HEADER_NAME_INFO(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Directory = v_ptr32() self.Name = UNICODE_STRING() self.QueryReferences = v_uint32()
class OBJECT_HEADER_NAME_INFO(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Directory = v_ptr32() self.Name = UNICODE_STRING() self.QueryReferences = v_uint32()
v_ptr32() self.Spare4 = v_ptr32() self.Spare5 = v_ptr32() self.Spare6 = v_ptr32() self.Spare7 = v_ptr32() self.Spare8 = v_ptr32() class OBJECT_HEADER_NAME_INFO(vstruct.VStruct):
64
64
52
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
OBJECT_HEADER_NAME_INFO
OBJECT_HEADER_NAME_INFO
5,032
5,037
5,032
5,032
4cccb0a6c01460d7bbc5f0ebddc0684fa382f7fd
bigcode/the-stack
train
153626912a68a4f4f6c8b0ff
train
class
class MMSUPPORT_FLAGS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SessionSpace = v_uint32()
class MMSUPPORT_FLAGS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SessionSpace = v_uint32()
v_uint8() self.DemotePercent = v_uint8() self.State = v_uint8() self.Spare = vstruct.VArray([ v_uint8() for i in xrange(3) ]) self.IdleFunction = v_ptr32() class MMSUPPORT_FLAGS(vstruct.VStruct):
64
64
35
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMSUPPORT_FLAGS
MMSUPPORT_FLAGS
5,420
5,423
5,420
5,420
0b52b03a8a25f3a0c35f76e9e688ca363023fa37
bigcode/the-stack
train
15d911add993071afb074c12
train
class
class TRACE_ENABLE_FLAG_EXTENSION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Offset = v_uint16() self.Length = v_uint8() self.Flag = v_uint8()
class TRACE_ENABLE_FLAG_EXTENSION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Offset = v_uint16() self.Length = v_uint8() self.Flag = v_uint8()
32() self.Reserved = v_ptr32() self.Event = KEVENT() self.VacbPushLock = EX_PUSH_LOCK() self._pad00d8 = v_bytes(size=4) self.PrivateCacheMap = PRIVATE_CACHE_MAP() class TRACE_ENABLE_FLAG_EXTENSION(vstruct.VStruct):
64
64
51
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
TRACE_ENABLE_FLAG_EXTENSION
TRACE_ENABLE_FLAG_EXTENSION
3,257
3,262
3,257
3,257
91a9719db786bd8e380ceb1df6cba2aeb5ef4f06
bigcode/the-stack
train
5be89df3337b7c48ee079338
train
class
class _unnamed_15734(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.s1 = _unnamed_16380()
class _unnamed_15734(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.s1 = _unnamed_16380()
self.DosPath = STRING() class ULARGE_INTEGER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LowPart = v_uint32() self.HighPart = v_uint32() class _unnamed_15734(vstruct.VStruct):
64
64
41
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_15734
_unnamed_15734
4,764
4,767
4,764
4,764
82ad5e99dbe56be741e84518a64baa5fc96d9548
bigcode/the-stack
train
615e9f18505d9bb6a687ddbd
train
class
class _unnamed_12605(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ImageCommitment = v_uint32()
class _unnamed_12605(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ImageCommitment = v_uint32()
= v_ptr32() self.Argument4 = v_ptr32() class _unnamed_12606(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ImageInformation = v_ptr32() class _unnamed_12605(vstruct.VStruct):
64
64
39
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_12605
_unnamed_12605
6,964
6,967
6,964
6,964
15dec46c49d72a4b0179d2be642ee3ffb1e8a0ae
bigcode/the-stack
train
cde534ff8d287f0b481326d0
train
class
class _unnamed_16636(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NotificationCode = v_uint32() self.NotificationData = v_uint32()
class _unnamed_16636(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.NotificationCode = v_uint32() self.NotificationData = v_uint32()
__(self) self.VetoType = v_uint32() self.DeviceIdVetoNameBuffer = vstruct.VArray([ v_uint16() for i in xrange(1) ]) self._pad0008 = v_bytes(size=2) class _unnamed_16636(vstruct.VStruct):
64
64
47
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16636
_unnamed_16636
6,838
6,842
6,838
6,838
1c27e7794d4be9c5f1073e580b0ee5b3abe037f5
bigcode/the-stack
train
a443892cb4d86f3e31c87d62
train
class
class MMMOD_WRITER_MDL_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Links = LIST_ENTRY() self.WriteOffset = LARGE_INTEGER() self.u = _unnamed_15130() self.Irp = v_ptr32() self.LastPageToWrite = v_uint32() self.PagingListHead ...
class MMMOD_WRITER_MDL_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Links = LIST_ENTRY() self.WriteOffset = LARGE_INTEGER() self.u = _unnamed_15130() self.Irp = v_ptr32() self.LastPageToWrite = v_uint32() self.PagingListHead = v_ptr32() self.CurrentList = v_ptr32(...
= v_uint32() class _unnamed_15560(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Base = v_uint32() self.Limit = v_uint32() class MMMOD_WRITER_MDL_ENTRY(vstruct.VStruct):
64
64
162
13
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMMOD_WRITER_MDL_ENTRY
MMMOD_WRITER_MDL_ENTRY
2,494
2,509
2,494
2,494
cd87ee880a0609f0f267bc4ed49452b2e56c07a9
bigcode/the-stack
train
047631d50f9103dca28216cb
train
class
class PS_IMPERSONATION_INFORMATION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Token = v_ptr32() self.CopyOnOpen = v_uint8() self.EffectiveOnly = v_uint8() self._pad0008 = v_bytes(size=2) self.ImpersonationLevel = v_uint32()
class PS_IMPERSONATION_INFORMATION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Token = v_ptr32() self.CopyOnOpen = v_uint8() self.EffectiveOnly = v_uint8() self._pad0008 = v_bytes(size=2) self.ImpersonationLevel = v_uint32()
(size=3) self.BusHackFlags = v_uint32() class _unnamed_16573(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ReserveDevice = v_ptr32() class PS_IMPERSONATION_INFORMATION(vstruct.VStruct):
64
64
80
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PS_IMPERSONATION_INFORMATION
PS_IMPERSONATION_INFORMATION
7,228
7,235
7,228
7,228
7416ad49c0b0e8d2ed2c20cc442a87c3d9b56fcf
bigcode/the-stack
train
807eaa728dcd01020274d4aa
train
class
class PO_MEMORY_IMAGE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.Version = v_uint32() self.CheckSum = v_uint32() self.LengthSelf = v_uint32() self.PageSelf = v_uint32() self.PageSize = v_uint32() ...
class PO_MEMORY_IMAGE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.Version = v_uint32() self.CheckSum = v_uint32() self.LengthSelf = v_uint32() self.PageSelf = v_uint32() self.PageSize = v_uint32() self.ImageType = v_uint32() s...
16() self.EaLength = 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() class PO_MEMORY_IMAGE(vstruct.VStruct):
79
79
264
9
70
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PO_MEMORY_IMAGE
PO_MEMORY_IMAGE
2,861
2,886
2,861
2,861
3803cff5bdbf9acd2efb699e0b3c964c715c373b
bigcode/the-stack
train
dd75866f3fcc59e3a6ca88d4
train
class
class LARGE_INTEGER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LowPart = v_uint32() self.HighPart = v_uint32()
class LARGE_INTEGER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.LowPart = v_uint32() self.HighPart = v_uint32()
LIST_ENTRY() self.WaitS0 = LIST_ENTRY() class RTL_BITMAP(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SizeOfBitMap = v_uint32() self.Buffer = v_ptr32() class LARGE_INTEGER(vstruct.VStruct):
64
64
43
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
LARGE_INTEGER
LARGE_INTEGER
1,686
1,690
1,686
1,686
402510da70a7c08a6b00835cf3d063e45731ebf6
bigcode/the-stack
train
88d6f0ba291555c0a6f1f04d
train
class
class SHARED_CACHE_MAP(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NodeTypeCode = v_uint16() self.NodeByteSize = v_uint16() self.OpenCount = v_uint32() self.FileSize = LARGE_INTEGER() self.BcbList = LIST_ENTRY() self.SectionSize =...
class SHARED_CACHE_MAP(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.NodeTypeCode = v_uint16() self.NodeByteSize = v_uint16() self.OpenCount = v_uint32() self.FileSize = LARGE_INTEGER() self.BcbList = LIST_ENTRY() self.SectionSize = LARGE_INTEGER() self.ValidDataLe...
SystemCacheViews = v_uint16() self.StartingFrame = v_uint32() self.UserGlobalList = LIST_ENTRY() self.SessionId = v_uint32() class VI_POOL_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.InUse = VI_POOL_ENTRY_INUSE() class POOL_HEADER(vstru...
138
138
460
10
128
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SHARED_CACHE_MAP
SHARED_CACHE_MAP
3,210
3,254
3,210
3,210
a031744b4e867ac34a5cfa52de43323919fb7121
bigcode/the-stack
train
86d1d665daa661fb834b00d3
train
class
class ACTIVATION_CONTEXT_STACK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Flags = v_uint32() self.NextCookieSequenceNumber = v_uint32() self.ActiveFrame = v_ptr32() self.FrameListCache = LIST_ENTRY()
class ACTIVATION_CONTEXT_STACK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Flags = v_uint32() self.NextCookieSequenceNumber = v_uint32() self.ActiveFrame = v_ptr32() self.FrameListCache = LIST_ENTRY()
self._pad0050 = v_bytes(size=2) class SE_AUDIT_PROCESS_CREATION_INFO(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ImageFileName = v_ptr32() class ACTIVATION_CONTEXT_STACK(vstruct.VStruct):
64
64
64
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ACTIVATION_CONTEXT_STACK
ACTIVATION_CONTEXT_STACK
6,811
6,817
6,811
6,811
78a8ebc3cd6a2f31980a43a681a98dd8df94c022
bigcode/the-stack
train
f8c9180a8ce454d87b5d1f27
train
class
class ARBITER_INTERFACE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint16() self.Version = v_uint16() self.Context = v_ptr32() self.InterfaceReference = v_ptr32() self.InterfaceDereference = v_ptr32() self.ArbiterHandler...
class ARBITER_INTERFACE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint16() self.Version = v_uint16() self.Context = v_ptr32() self.InterfaceReference = v_ptr32() self.InterfaceDereference = v_ptr32() self.ArbiterHandler = v_ptr32() self.Flags = v_uint32...
DispatchStyle = v_uint32() self.OtherIrpDispatchFunction = v_ptr32() class EX_PUSH_LOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Waiting = v_uint32() class ARBITER_INTERFACE(vstruct.VStruct):
64
64
89
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ARBITER_INTERFACE
ARBITER_INTERFACE
6,619
6,628
6,619
6,619
63d21b355f98d184b22ff9a0a0bb8bde79866720
bigcode/the-stack
train
d2fa6bb686a8f9db7bf10ea1
train
class
class CM_BIG_DATA(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint16() self.Count = v_uint16() self.List = v_uint32()
class CM_BIG_DATA(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint16() self.Count = v_uint16() self.List = v_uint32()
Struct.__init__(self) self.Valid = v_uint32() class PCI_HEADER_TYPE_DEPENDENT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.type0 = _unnamed_14410() class CM_BIG_DATA(vstruct.VStruct):
64
64
51
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CM_BIG_DATA
CM_BIG_DATA
6,888
6,893
6,888
6,888
946b642bd35365a9ed8aa5934dc555f2f9954c3e
bigcode/the-stack
train
90825ffe34d9e5370e7acf5c
train
class
class PCI_FUNCTION_RESOURCES(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Limit = vstruct.VArray([ IO_RESOURCE_DESCRIPTOR() for i in xrange(7) ]) self.Current = vstruct.VArray([ CM_PARTIAL_RESOURCE_DESCRIPTOR() for i in xrange(7) ])
class PCI_FUNCTION_RESOURCES(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Limit = vstruct.VArray([ IO_RESOURCE_DESCRIPTOR() for i in xrange(7) ]) self.Current = vstruct.VArray([ CM_PARTIAL_RESOURCE_DESCRIPTOR() for i in xrange(7) ])
struct.VArray([ v_uint32() for i in xrange(1) ]) class MMPTE_HARDWARE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32() class PCI_FUNCTION_RESOURCES(vstruct.VStruct):
64
64
72
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PCI_FUNCTION_RESOURCES
PCI_FUNCTION_RESOURCES
631
635
631
631
abdb4be5643f47a3f8ba96ec4f70b67d3ce37c21
bigcode/the-stack
train
82004d0d3a918bf94343b69d
train
class
class PO_NOTIFY_ORDER_LEVEL(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LevelReady = KEVENT() self.DeviceCount = v_uint32() self.ActiveCount = v_uint32() self.WaitSleep = LIST_ENTRY() self.ReadySleep = LIST_ENTRY() self.Pending = ...
class PO_NOTIFY_ORDER_LEVEL(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.LevelReady = KEVENT() self.DeviceCount = v_uint32() self.ActiveCount = v_uint32() self.WaitSleep = LIST_ENTRY() self.ReadySleep = LIST_ENTRY() self.Pending = LIST_ENTRY() self.Complete = LIST_ENTR...
() self._pad0100 = v_bytes(size=96) class HEAP_STOP_ON_TAG(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.HeapAndTagIndex = v_uint32() class PO_NOTIFY_ORDER_LEVEL(vstruct.VStruct):
64
64
104
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PO_NOTIFY_ORDER_LEVEL
PO_NOTIFY_ORDER_LEVEL
1,665
1,676
1,665
1,665
42ab0c03ef15c9d5854282c67be9406e1ffab78b
bigcode/the-stack
train
ca5a1e6310a0f3af517c4cfe
train
class
class TOKEN_SOURCE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SourceName = vstruct.VArray([ v_uint8() for i in xrange(8) ]) self.SourceIdentifier = LUID()
class TOKEN_SOURCE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SourceName = vstruct.VArray([ v_uint8() for i in xrange(8) ]) self.SourceIdentifier = LUID()
self.DriverObject = v_ptr32() self.AddDevice = v_ptr32() self.Count = v_uint32() self.ServiceKeyName = UNICODE_STRING() self.ClientDriverExtension = v_ptr32() self.FsFilterCallbacks = v_ptr32() class TOKEN_SOURCE(vstruct.VStruct):
64
64
55
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
TOKEN_SOURCE
TOKEN_SOURCE
5,821
5,825
5,821
5,821
8781df276b08d139140c5e7122a0ec6e7127c1fb
bigcode/the-stack
train
545e9e9b27d686794e3ae754
train
class
class _unnamed_14648(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Data = vstruct.VArray([ v_uint32() for i in xrange(3) ])
class _unnamed_14648(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Data = vstruct.VArray([ v_uint32() for i in xrange(3) ])
() self.UserEvent = v_ptr32() self.Overlay = _unnamed_12976() self.CancelRoutine = v_ptr32() self.UserBuffer = v_ptr32() self.Tail = _unnamed_12979() class _unnamed_14648(vstruct.VStruct):
64
64
50
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14648
_unnamed_14648
5,715
5,718
5,715
5,715
795f3a072e60970db6a88e22a1428df141e21a6f
bigcode/the-stack
train
0bcd5ae534898e0b0d8976a3
train
class
class _unnamed_14487(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ListHead = LIST_ENTRY()
class _unnamed_14487(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ListHead = LIST_ENTRY()
self) self.ExecuteDisable = v_uint8() class PCI_PMC(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Version = v_uint8() self.Support = PM_SUPPORT() class _unnamed_14487(vstruct.VStruct):
64
64
37
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14487
_unnamed_14487
568
571
568
568
a5ed1619b2e218d6587d65aaf0b9c4577cebf54f
bigcode/the-stack
train
bc48c85a391894b2840e599d
train
class
class LIST_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Flink = v_ptr32() self.Blink = v_ptr32()
class LIST_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Flink = v_ptr32() self.Blink = v_ptr32()
GUID() self.EventCategory = v_uint32() self.Result = v_ptr32() self.Flags = v_uint32() self.TotalSize = v_uint32() self.DeviceObject = v_ptr32() self.u = _unnamed_15795() class LIST_ENTRY(vstruct.VStruct):
64
64
43
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
LIST_ENTRY
LIST_ENTRY
5,462
5,466
5,462
5,462
ebca2b8334c71650185b0efb72c3f616d15d5f0d
bigcode/the-stack
train
8947898d7978a2171278ddfe
train
class
class MDL(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Size = v_uint16() self.MdlFlags = v_uint16() self.Process = v_ptr32() self.MappedSystemVa = v_ptr32() self.StartVa = v_ptr32() self.ByteCount = v_...
class MDL(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Size = v_uint16() self.MdlFlags = v_uint16() self.Process = v_ptr32() self.MappedSystemVa = v_ptr32() self.StartVa = v_ptr32() self.ByteCount = v_uint32() self.ByteOf...
SECTION_OBJECT_POINTERS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DataSectionObject = v_ptr32() self.SharedCacheMap = v_ptr32() self.ImageSectionObject = v_ptr32() class MDL(vstruct.VStruct):
64
64
97
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MDL
MDL
1,288
1,298
1,288
1,288
5765171ffbd0fed4b7b63eac84e620ab661c523b
bigcode/the-stack
train
d5f92b14c5b7e78cd2b670e6
train
class
class GUID(vstruct.VStruct): def __init__(self): vstruct.VStruct.__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 GUID(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__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) ])
v_uint32() self.u = _unnamed_12520() self.FilePointer = v_ptr32() self.WaitingForDeletion = v_ptr32() self.ModifiedWriteCount = v_uint16() self.NumberOfSystemCacheViews = v_uint16() class GUID(vstruct.VStruct):
64
64
73
7
57
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
GUID
GUID
5,549
5,555
5,549
5,549
aa82342a559ce7d15a0a47d42651d4ad48524690
bigcode/the-stack
train
5e6722023fcdbdb597aeb67d
train
class
class HMAP_TABLE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Table = vstruct.VArray([ HMAP_ENTRY() for i in xrange(512) ])
class HMAP_TABLE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Table = vstruct.VArray([ HMAP_ENTRY() for i in xrange(512) ])
_ptr32() class INTERLOCK_SEQ(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Depth = v_uint16() self.FreeEntryOffset = v_uint16() self.Sequence = v_uint32() class HMAP_TABLE(vstruct.VStruct):
64
64
47
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HMAP_TABLE
HMAP_TABLE
4,116
4,119
4,116
4,116
1e8668759d43b048c696eac4f0bf8e2e0e9c62e2
bigcode/the-stack
train
3c0a6fff37a4ff8656dbb0ae
train
class
class _unnamed_16666(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DiskId = GUID()
class _unnamed_16666(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DiskId = GUID()
self.NonPagedFrees = v_uint32() self.NonPagedBytes = v_uint32() self.PagedAllocs = v_uint32() self.PagedFrees = v_uint32() self.PagedBytes = v_uint32() class _unnamed_16666(vstruct.VStruct):
64
64
37
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16666
_unnamed_16666
2,468
2,471
2,468
2,468
3f4c8c9a46140fef31655b1c6d47e749e5fc9d2f
bigcode/the-stack
train
8fb877f6ff84f948b0fed091
train
class
class _unnamed_12531(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LongFlags = v_uint32()
class _unnamed_12531(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.LongFlags = v_uint32()
self.FreezeCount = v_uint8() self.SuspendCount = v_uint8() self.IdealProcessor = v_uint8() self.DisableBoost = v_uint8() self._pad01c0 = v_bytes(size=4) class _unnamed_12531(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_12531
_unnamed_12531
2,598
2,601
2,598
2,598
28d383247bbbe1e114a25fdbccf4a9a79ba5c60f
bigcode/the-stack
train
6c3aeefce70cbb985ebf35e3
train
class
class LPCP_NONPAGED_PORT_QUEUE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Semaphore = KSEMAPHORE() self.BackPointer = v_ptr32()
class LPCP_NONPAGED_PORT_QUEUE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Semaphore = KSEMAPHORE() self.BackPointer = v_ptr32()
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 LPCP_NONPAGED_PORT_QUEUE(vstruct.VStruct):
63
64
50
13
50
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
LPCP_NONPAGED_PORT_QUEUE
LPCP_NONPAGED_PORT_QUEUE
3,823
3,827
3,823
3,823
4f45baebfa506d159ed8eb41bf07465647f5e686
bigcode/the-stack
train
5f15a2f19707999f9710ef1c
train
class
class _unnamed_16299(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.Alignment = v_uint32() self.MinimumAddress = LARGE_INTEGER() self.MaximumAddress = LARGE_INTEGER()
class _unnamed_16299(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.Alignment = v_uint32() self.MinimumAddress = LARGE_INTEGER() self.MaximumAddress = LARGE_INTEGER()
_bytes(size=3) class _unnamed_13174(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ShortFlags = v_uint16() self.ReferenceCount = v_uint16() class _unnamed_16299(vstruct.VStruct):
64
64
61
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16299
_unnamed_16299
7,156
7,162
7,156
7,156
9f66a50e3a9b218eeaebacfe18cab0e852f7930c
bigcode/the-stack
train
9e4c5f45dc0a8e0620f1abc0
train
class
class SECURITY_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 SECURITY_TOKEN_AUDIT_DATA(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.GrantMask = v_uint32() self.DenyMask = v_uint32()
self.Sbz1 = v_uint8() self.Control = v_uint16() self.Owner = v_ptr32() self.Group = v_ptr32() self.Sacl = v_ptr32() self.Dacl = v_ptr32() class SECURITY_TOKEN_AUDIT_DATA(vstruct.VStruct):
64
64
57
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SECURITY_TOKEN_AUDIT_DATA
SECURITY_TOKEN_AUDIT_DATA
1,432
1,437
1,432
1,432
40254d7825cd76f4892430a312b3a57b3e81dc69
bigcode/the-stack
train
e13ec68af31a9cb0814bfc39
train
class
class _unnamed_14640(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Level = v_uint32() self.Vector = v_uint32() self.Affinity = v_uint32()
class _unnamed_14640(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Level = v_uint32() self.Vector = v_uint32() self.Affinity = v_uint32()
self) self.IoResourceRequirementList = v_ptr32() class _unnamed_16195(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Capabilities = v_ptr32() class _unnamed_14640(vstruct.VStruct):
64
64
55
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14640
_unnamed_14640
5,633
5,638
5,633
5,633
9a9999423b60bf5f13ffe1fcb14ae962ed71912f
bigcode/the-stack
train
0d234d7b7b333f51261fa7f9
train
class
class BUS_EXTENSION_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.BusExtension = v_ptr32()
class BUS_EXTENSION_LIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.BusExtension = v_ptr32()
99) ]) self.CheckSum = v_uint32() self.Reserved2 = vstruct.VArray([ v_uint32() for i in xrange(894) ]) self.BootType = v_uint32() self.BootRecover = v_uint32() class BUS_EXTENSION_LIST(vstruct.VStruct):
64
64
43
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
BUS_EXTENSION_LIST
BUS_EXTENSION_LIST
5,160
5,164
5,160
5,160
d88f1e5baefcbd9ea3b601d885b8b71e7b83236e
bigcode/the-stack
train
b66718e41c05cbeb3ae25ccb
train
class
class KPRCB(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.MinorVersion = v_uint16() self.MajorVersion = v_uint16() self.CurrentThread = v_ptr32() self.NextThread = v_ptr32() self.IdleThread = v_ptr32() self.Number = v_uint8() ...
class KPRCB(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.MinorVersion = v_uint16() self.MajorVersion = v_uint16() self.CurrentThread = v_ptr32() self.NextThread = v_ptr32() self.IdleThread = v_ptr32() self.Number = v_uint8() self.Reserved = v_uint8() ...
.__init__(self) self.AllocatedResources = v_ptr32() class _unnamed_14549(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BaseMid = v_uint32() class flags(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Removable = v_...
256
256
1,272
9
247
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KPRCB
KPRCB
5,869
5,963
5,869
5,869
28af4d7c5e8f6c2d597114190930209540805fe2
bigcode/the-stack
train
66be5a44c0b355437499d47d
train
class
class MMMOD_WRITER_LISTHEAD(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ListHead = LIST_ENTRY() self.Event = KEVENT()
class MMMOD_WRITER_LISTHEAD(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ListHead = LIST_ENTRY() self.Event = KEVENT()
self._pad008c = v_bytes(size=3) self.Extension = v_ptr32() self.BusDeviceObject = v_ptr32() self.ConflictCallbackContext = v_ptr32() self.ConflictCallback = v_ptr32() class MMMOD_WRITER_LISTHEAD(vstruct.VStruct):
64
64
44
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMMOD_WRITER_LISTHEAD
MMMOD_WRITER_LISTHEAD
5,382
5,386
5,382
5,382
09a2dce1e412546a7d9eda5c7934a3801f912306
bigcode/the-stack
train
f4d6cc7dbb8058314c1f3f5a
train
class
class DBGKD_READ_WRITE_IO64(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.IoAddress = v_uint64() self.DataSize = v_uint32() self.DataValue = v_uint32()
class DBGKD_READ_WRITE_IO64(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.IoAddress = v_uint64() self.DataSize = v_uint32() self.DataValue = v_uint32()
unnamed_16505(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Mbr = _unnamed_16663() self._pad0010 = v_bytes(size=8) class DBGKD_READ_WRITE_IO64(vstruct.VStruct):
64
64
57
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_READ_WRITE_IO64
DBGKD_READ_WRITE_IO64
3,454
3,459
3,454
3,454
d01eb1956f5c44e744441c29ff7eaa17fe71ced3
bigcode/the-stack
train
8d32e63401c05154b0982b21
train
class
class EX_FAST_REF(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Object = v_ptr32()
class EX_FAST_REF(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Object = v_ptr32()
self.Alignment = v_uint32() self.Priority = v_uint32() self.Flags = v_uint32() self.Descriptor = v_ptr32() self.Reserved = vstruct.VArray([ v_uint32() for i in xrange(3) ]) class EX_FAST_REF(vstruct.VStruct):
63
64
34
9
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EX_FAST_REF
EX_FAST_REF
4,102
4,105
4,102
4,102
420b7cb91c5666e808eb3076936a5e71df8121d0
bigcode/the-stack
train
9acb2e90f5805a41d4fbc93b
train
class
class RTL_HANDLE_TABLE_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Flags = v_uint32()
class RTL_HANDLE_TABLE_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Flags = v_uint32()
struct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Wnode = WNODE_HEADER() self.Offset = v_uint32() self.EventsLost = v_uint32() self.InstanceGuid = GUID() class RTL_HANDLE_TABLE_ENTRY(vstruct.VStruct):
64
64
35
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
RTL_HANDLE_TABLE_ENTRY
RTL_HANDLE_TABLE_ENTRY
4,083
4,086
4,083
4,083
4ff174980d374559c7ecdd45c955b0a9e5ed5df5
bigcode/the-stack
train
045bb5f6a5a2d513a7330273
train
class
class VI_DEADLOCK_THREAD(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Thread = v_ptr32() self.CurrentSpinNode = v_ptr32() self.CurrentOtherNode = v_ptr32() self.ListEntry = LIST_ENTRY() self.NodeCount = v_uint32() self.PagingCount ...
class VI_DEADLOCK_THREAD(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Thread = v_ptr32() self.CurrentSpinNode = v_ptr32() self.CurrentOtherNode = v_ptr32() self.ListEntry = LIST_ENTRY() self.NodeCount = v_uint32() self.PagingCount = v_uint32()
Struct.__init__(self) self.Entry = LIST_ENTRY() self.ExtraStuff = HEAP_ENTRY_EXTRA() self.CommitSize = v_uint32() self.ReserveSize = v_uint32() self.BusyBlock = HEAP_ENTRY() class VI_DEADLOCK_THREAD(vstruct.VStruct):
64
64
83
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
VI_DEADLOCK_THREAD
VI_DEADLOCK_THREAD
5,976
5,984
5,976
5,976
b90218f522ca74702d781dfbf84ba7284ebcd045
bigcode/the-stack
train
eadfb24d02b512388c77e0f5
train
class
class NAMED_PIPE_CREATE_PARAMETERS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NamedPipeType = v_uint32() self.ReadMode = v_uint32() self.CompletionMode = v_uint32() self.MaximumInstances = v_uint32() self.InboundQuota = v_uint32() ...
class NAMED_PIPE_CREATE_PARAMETERS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.NamedPipeType = v_uint32() self.ReadMode = v_uint32() self.CompletionMode = v_uint32() self.MaximumInstances = v_uint32() self.InboundQuota = v_uint32() self.OutboundQuota = v_uint32() self.Defaul...
self.ConflictCallback = v_ptr32() class MMMOD_WRITER_LISTHEAD(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ListHead = LIST_ENTRY() self.Event = KEVENT() class NAMED_PIPE_CREATE_PARAMETERS(vstruct.VStruct):
64
64
116
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
NAMED_PIPE_CREATE_PARAMETERS
NAMED_PIPE_CREATE_PARAMETERS
5,389
5,400
5,389
5,389
cfb812321454cba0086ea334c9eecea1dfa1ade8
bigcode/the-stack
train
fb991504dd6e822d9d4e976c
train
class
class _unnamed_16629(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DeviceId = vstruct.VArray([ v_uint16() for i in xrange(1) ])
class _unnamed_16629(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DeviceId = vstruct.VArray([ v_uint16() for i in xrange(1) ])
self.MaxVersion = v_uint16() self.Flags = v_uint16() self.ReferenceCount = v_uint32() self.Signature = v_uint32() self.Constructor = v_ptr32() self.Initializer = v_ptr32() class _unnamed_16629(vstruct.VStruct):
64
64
51
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16629
_unnamed_16629
806
809
806
806
d1240e482897645590296fbe9a47e0d76550b51a
bigcode/the-stack
train
9f010d7eaf990b933e11cabd
train
class
class POOL_TRACKER_BIG_PAGES(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Va = v_ptr32() self.Key = v_uint32() self.NumberOfPages = v_uint32()
class POOL_TRACKER_BIG_PAGES(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Va = v_ptr32() self.Key = v_uint32() self.NumberOfPages = v_uint32()
.SystemArgument2 = v_ptr32() self.ApcStateIndex = v_uint8() self.ApcMode = v_uint8() self.Inserted = v_uint8() self._pad0030 = v_bytes(size=1) class POOL_TRACKER_BIG_PAGES(vstruct.VStruct):
64
64
57
13
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
POOL_TRACKER_BIG_PAGES
POOL_TRACKER_BIG_PAGES
3,152
3,157
3,152
3,152
641f1d5a946d22f3c5ee6c3078c14e715856358d
bigcode/the-stack
train
0a4fa33074f3e809f2f4bc83
train
class
class KPROCESS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.ProfileListHead = LIST_ENTRY() self.DirectoryTableBase = vstruct.VArray([ v_uint32() for i in xrange(2) ]) self.LdtDescriptor = KGDTENTRY() self....
class KPROCESS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.ProfileListHead = LIST_ENTRY() self.DirectoryTableBase = vstruct.VArray([ v_uint32() for i in xrange(2) ]) self.LdtDescriptor = KGDTENTRY() self.Int21Descriptor = KIDTENTRY() ...
= vstruct.VArray([ v_uint64() for i in xrange(15) ]) class _unnamed_16250(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ProviderId = v_uint32() self.DataPath = v_ptr32() self.BufferSize = v_uint32() self.Buffer = v_ptr32() class KPROCESS(vstruct...
91
91
304
8
83
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KPROCESS
KPROCESS
907
937
907
907
5fe8641c8e8de877bca0cb567dff7444bfd4e2d4
bigcode/the-stack
train
4488504b24c82a92c78b3155
train
class
class _unnamed_16782(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Argument1 = v_ptr32() self.Argument2 = v_ptr32() self.Argument3 = v_ptr32() self.Argument4 = v_ptr32() self.Argument5 = v_ptr32()
class _unnamed_16782(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Argument1 = v_ptr32() self.Argument2 = v_ptr32() self.Argument3 = v_ptr32() self.Argument4 = v_ptr32() self.Argument5 = v_ptr32()
32() self.LockCount = v_uint32() self.RecursionCount = v_uint32() self.OwningThread = v_ptr32() self.LockSemaphore = v_ptr32() self.SpinCount = v_uint32() class _unnamed_16782(vstruct.VStruct):
64
64
74
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16782
_unnamed_16782
2,380
2,387
2,380
2,380
d6904f3c37a4f60df6ba66e8a4c300f6a1062925
bigcode/the-stack
train
9c5b020ca3e77d59c1a661c0
train
class
class POOL_HACKER(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Header = POOL_HEADER() self.Contents = vstruct.VArray([ v_uint32() for i in xrange(8) ])
class POOL_HACKER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Header = POOL_HEADER() self.Contents = vstruct.VArray([ v_uint32() for i in xrange(8) ])
self.PassiveDpc = KDPC() self.OverThrottled = POP_ACTION_TRIGGER() self.Irp = v_ptr32() self.Info = THERMAL_INFORMATION() self._pad00d0 = v_bytes(size=4) class POOL_HACKER(vstruct.VStruct):
64
64
58
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
POOL_HACKER
POOL_HACKER
5,279
5,283
5,279
5,279
ea9a8bbd6bbe93998996e424e5f253ed8b22195c
bigcode/the-stack
train
3a77baf7d1f343f5bf0959c6
train
class
class CHILD_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.List = v_uint32()
class CHILD_LIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.List = v_uint32()
2) class _unnamed_12979(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Overlay = _unnamed_14765() self._pad0030 = v_bytes(size=8) class CHILD_LIST(vstruct.VStruct):
64
64
41
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CHILD_LIST
CHILD_LIST
6,575
6,579
6,575
6,575
679ca4faf3a20045a22452a43f02912fa07b1412
bigcode/the-stack
train
6f8ac9248f2689e2bfc094f3
train
class
class _unnamed_14654(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DataSize = v_uint32() self.Reserved1 = v_uint32() self.Reserved2 = v_uint32()
class _unnamed_14654(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DataSize = v_uint32() self.Reserved1 = v_uint32() self.Reserved2 = v_uint32()
([ v_uint32() for i in xrange(2) ]) self.FreeHandles = v_ptr32() self.CommittedHandles = v_ptr32() self.UnCommittedHandles = v_ptr32() self.MaxReservedHandles = v_ptr32() class _unnamed_14654(vstruct.VStruct):
64
64
58
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14654
_unnamed_14654
3,625
3,630
3,625
3,625
e57cf8a7286283a913ec87ce7a213cede0c85b90
bigcode/the-stack
train
0bf3a8e65405aae25c08ad29
train
class
class CM_PARTIAL_RESOURCE_DESCRIPTOR(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint8() self.ShareDisposition = v_uint8() self.Flags = v_uint16() self.u = _unnamed_13834()
class CM_PARTIAL_RESOURCE_DESCRIPTOR(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint8() self.ShareDisposition = v_uint8() self.Flags = v_uint16() self.u = _unnamed_13834()
32() self.CmHive2 = v_ptr32() self.ThreadFinished = v_uint8() self.ThreadStarted = v_uint8() self.Allocate = v_uint8() self._pad0018 = v_bytes(size=1) class CM_PARTIAL_RESOURCE_DESCRIPTOR(vstruct.VStruct):
64
64
64
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CM_PARTIAL_RESOURCE_DESCRIPTOR
CM_PARTIAL_RESOURCE_DESCRIPTOR
2,050
2,056
2,050
2,050
432ff0f39e7736c6d0aff51809fe1653f0eed64b
bigcode/the-stack
train
e952f46fde80877a8a1c8ca8
train
class
class PRIVILEGE_SET(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PrivilegeCount = v_uint32() self.Control = v_uint32() self.Privilege = vstruct.VArray([ LUID_AND_ATTRIBUTES() for i in xrange(1) ])
class PRIVILEGE_SET(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.PrivilegeCount = v_uint32() self.Control = v_uint32() self.Privilege = vstruct.VArray([ LUID_AND_ATTRIBUTES() for i in xrange(1) ])
Struct): 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 PRIVILEGE_SET(vstruct.VStruct):
63
64
70
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PRIVILEGE_SET
PRIVILEGE_SET
1,865
1,870
1,865
1,865
b5eb2e5ac5a0612e6cd27aeafeab17af8ae398c0
bigcode/the-stack
train
83ee820c0994874aec0b6521
train
class
class _unnamed_14395(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Acquired = v_uint8() self.CacheLineSize = v_uint8() self.LatencyTimer = v_uint8() self.EnablePERR = v_uint8() self.EnableSERR = v_uint8()
class _unnamed_14395(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Acquired = v_uint8() self.CacheLineSize = v_uint8() self.LatencyTimer = v_uint8() self.EnablePERR = v_uint8() self.EnableSERR = v_uint8()
.Descriptor = SECURITY_DESCRIPTOR_RELATIVE() class _unnamed_14637(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Start = LARGE_INTEGER() self.Length = v_uint32() class _unnamed_14395(vstruct.VStruct):
64
64
78
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14395
_unnamed_14395
5,488
5,495
5,488
5,488
1a2132145b3b287b49d00a594ddc185a95e9ec53
bigcode/the-stack
train
4d59b36ca5a8efc02061c4c3
train
class
class _unnamed_16078(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.FileInformationClass = v_uint32()
class _unnamed_16078(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.FileInformationClass = v_uint32()
self._pad0030 = v_bytes(size=2) class _unnamed_14793(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PhysicalAddress = v_uint32() class _unnamed_16078(vstruct.VStruct):
64
64
47
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16078
_unnamed_16078
7,297
7,301
7,297
7,297
08b4ebbc7dcf34a0315ef5061c4fbaef3940177d
bigcode/the-stack
train
cfb2ae65c487ba627f0aa75c
train
class
class CACHE_UNINITIALIZE_EVENT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Event = KEVENT()
class CACHE_UNINITIALIZE_EVENT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Event = KEVENT()
64() self.ProcessId = v_uint64() self.CheckSum = v_uint32() self.SizeOfImage = v_uint32() self.UnloadSymbols = v_uint8() self._pad0028 = v_bytes(size=7) class CACHE_UNINITIALIZE_EVENT(vstruct.VStruct):
64
64
43
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CACHE_UNINITIALIZE_EVENT
CACHE_UNINITIALIZE_EVENT
3,576
3,580
3,576
3,576
28a715d6d7d62712b670496effaafd0a45443868
bigcode/the-stack
train
a5868d64434965ba1b7d93da
train
class
class PAGED_LOOKASIDE_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.L = GENERAL_LOOKASIDE() self.Lock__ObsoleteButDoNotDelete = FAST_MUTEX() self._pad0100 = v_bytes(size=96)
class PAGED_LOOKASIDE_LIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.L = GENERAL_LOOKASIDE() self.Lock__ObsoleteButDoNotDelete = FAST_MUTEX() self._pad0100 = v_bytes(size=96)
init__(self): vstruct.VStruct.__init__(self) self.TypeList = LIST_ENTRY() self.CreatorUniqueProcess = v_ptr32() self.CreatorBackTraceIndex = v_uint16() self.Reserved = v_uint16() class PAGED_LOOKASIDE_LIST(vstruct.VStruct):
64
64
65
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PAGED_LOOKASIDE_LIST
PAGED_LOOKASIDE_LIST
1,651
1,656
1,651
1,651
fdfc2caa2962ee0b0a96a7bfdcbc987b3a381814
bigcode/the-stack
train
c10ec91453b031aa8e5e3cdd
train
class
class _unnamed_14532(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Port = _unnamed_16299()
class _unnamed_14532(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Port = _unnamed_16299()
(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.Objects = vstruct.VArray([ v_ptr32() for i in xrange(1) ]) class _unnamed_14532(vstruct.VStruct):
63
64
40
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14532
_unnamed_14532
3,837
3,840
3,837
3,837
f642fb73968d01fd0f117bfdd99853d69b13b9a4
bigcode/the-stack
train
f275279c456b0e9628b02054
train
class
class MMADDRESS_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.StartVpn = v_uint32() self.EndVpn = v_uint32()
class MMADDRESS_LIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.StartVpn = v_uint32() self.EndVpn = v_uint32()
Count = v_uint16() self.TlsIndex = v_uint16() self.HashLinks = LIST_ENTRY() self.TimeDateStamp = v_uint32() self.EntryPointActivationContext = v_ptr32() self.PatchInformation = v_ptr32() class MMADDRESS_LIST(vstruct.VStruct):
64
64
44
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMADDRESS_LIST
MMADDRESS_LIST
2,836
2,840
2,836
2,836
2a172afed5d2b9682a63d9e9a35ea0f9ef1e177e
bigcode/the-stack
train
fdbb82f03bdcf27f2311ed4f
train
class
class _unnamed_16236(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PowerSequence = v_ptr32()
class _unnamed_16236(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.PowerSequence = v_ptr32()
_uint32() self.SystemSpaceBitMap = v_ptr32() class _unnamed_16230(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PowerState = v_uint32() class _unnamed_16236(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16236
_unnamed_16236
4,953
4,956
4,953
4,953
0d9705ee89279e826949972ba3a478d707c978f8
bigcode/the-stack
train
ee5bb9094db3e7e5f7f30189
train
class
class CMHIVE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Hive = HHIVE() self.FileHandles = vstruct.VArray([ v_ptr32() for i in xrange(3) ]) self.NotifyList = LIST_ENTRY() self.HiveList = LIST_ENTRY() self.HiveLock = v_ptr32() self...
class CMHIVE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Hive = HHIVE() self.FileHandles = vstruct.VArray([ v_ptr32() for i in xrange(3) ]) self.NotifyList = LIST_ENTRY() self.HiveList = LIST_ENTRY() self.HiveLock = v_ptr32() self.ViewLock = v_ptr32() s...
self.FreeHandles = v_ptr32() self.CommittedHandles = v_ptr32() self.UnCommittedHandles = v_ptr32() self.MaxReservedHandles = v_ptr32() class _unnamed_14654(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DataSize = v_uint32() self.Reserved...
105
105
350
9
96
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CMHIVE
CMHIVE
3,633
3,665
3,633
3,633
6854d41e5eb1886d04165010a2a86c63e0974b7d
bigcode/the-stack
train
77238d7bab9406c75f2ef935
train
class
class PCI_LOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Atom = v_uint32() self.OldIrql = v_uint8() self._pad0008 = v_bytes(size=3)
class PCI_LOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Atom = v_uint32() self.OldIrql = v_uint8() self._pad0008 = v_bytes(size=3)
self): vstruct.VStruct.__init__(self) self.PrivilegeCount = v_uint32() self.Control = v_uint32() self.Privilege = vstruct.VArray([ LUID_AND_ATTRIBUTES() for i in xrange(3) ]) class PCI_LOCK(vstruct.VStruct):
63
64
58
8
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PCI_LOCK
PCI_LOCK
4,510
4,515
4,510
4,510
1f7f0365ea6531b878e6057c4f2b243bfafc0704
bigcode/the-stack
train
870141eebf31576b949f6995
train
class
class MMWSL(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Quota = v_uint32() self.FirstFree = v_uint32() self.FirstDynamic = v_uint32() self.LastEntry = v_uint32() self.NextSlot = v_uint32() self.Wsle = v_ptr32() self.LastIn...
class MMWSL(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Quota = v_uint32() self.FirstFree = v_uint32() self.FirstDynamic = v_uint32() self.LastEntry = v_uint32() self.NextSlot = v_uint32() self.Wsle = v_ptr32() self.LastInitializedWsle = v_uint32() ...
self.KcbUserFlags = v_uint32() self._pad0050 = v_bytes(size=4) class MMVAD_FLAGS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.CommitCharge = v_uint32() class MMWSL(vstruct.VStruct):
68
68
228
9
59
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMWSL
MMWSL
2,235
2,254
2,235
2,235
b6a252bafdc2284b43c6956296b828d67369edb4
bigcode/the-stack
train
0d7711fdb769449b908dcc48
train
class
class _unnamed_16250(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ProviderId = v_uint32() self.DataPath = v_ptr32() self.BufferSize = v_uint32() self.Buffer = v_ptr32()
class _unnamed_16250(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ProviderId = v_uint32() self.DataPath = v_ptr32() self.BufferSize = v_uint32() self.Buffer = v_ptr32()
() self.ExceptionAddress = v_uint64() self.NumberParameters = v_uint32() self.unusedAlignment = v_uint32() self.ExceptionInformation = vstruct.VArray([ v_uint64() for i in xrange(15) ]) class _unnamed_16250(vstruct.VStruct):
63
64
64
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16250
_unnamed_16250
898
904
898
898
9c3cd5a600e6c334f9c094798fc49bb39fd6014e
bigcode/the-stack
train
133bfd33276609aa8ac2c14d
train
class
class PO_MEMORY_RANGE_ARRAY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Range = _unnamed_16445()
class PO_MEMORY_RANGE_ARRAY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Range = _unnamed_16445()
_unnamed_14640(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Level = v_uint32() self.Vector = v_uint32() self.Affinity = v_uint32() class PO_MEMORY_RANGE_ARRAY(vstruct.VStruct):
64
64
38
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PO_MEMORY_RANGE_ARRAY
PO_MEMORY_RANGE_ARRAY
5,641
5,644
5,641
5,641
8b9b791530c743ac55f524f915e25848bd025e0f
bigcode/the-stack
train
3a0f9e698f454857143ac672
train
class
class SEGMENT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ControlArea = v_ptr32() self.TotalNumberOfPtes = v_uint32() self.NonExtendedPtes = v_uint32() self.WritableUserReferences = v_uint32() self.SizeOfSegment = v_uint64() self....
class SEGMENT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ControlArea = v_ptr32() self.TotalNumberOfPtes = v_uint32() self.NonExtendedPtes = v_uint32() self.WritableUserReferences = v_uint32() self.SizeOfSegment = v_uint64() self.SegmentPteTemplate = MMPTE() ...
Object = v_ptr32() self.RealDevice = v_ptr32() self.SerialNumber = v_uint32() self.ReferenceCount = v_uint32() self.VolumeLabel = vstruct.VArray([ v_uint16() for i in xrange(32) ]) class SEGMENT(vstruct.VStruct):
63
64
202
8
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SEGMENT
SEGMENT
1,737
1,754
1,737
1,737
e27b9df0f276909f6375f036a26d8987da0c77bb
bigcode/the-stack
train
453b92adeddcf33454bd2323
train
class
class VI_DEADLOCK_GLOBALS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Nodes = vstruct.VArray([ v_uint32() for i in xrange(2) ]) self.Resources = vstruct.VArray([ v_uint32() for i in xrange(2) ]) self.Threads = vstruct.VArray([ v_uint32() for i in xrange(...
class VI_DEADLOCK_GLOBALS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Nodes = vstruct.VArray([ v_uint32() for i in xrange(2) ]) self.Resources = vstruct.VArray([ v_uint32() for i in xrange(2) ]) self.Threads = vstruct.VArray([ v_uint32() for i in xrange(2) ]) self.TimeAcquire = v_uint64() ...
def __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): def __init__(self): vstruct.VStruct.__init__(self) self...
111
111
371
12
99
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
VI_DEADLOCK_GLOBALS
VI_DEADLOCK_GLOBALS
3,341
3,372
3,341
3,341
e1a66ce7e096848f39d335ff50db49f82deab4a8
bigcode/the-stack
train
a48f417fe0c44d57ea0ac6a7
train
class
class GENERIC_MAPPING(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.GenericRead = v_uint32() self.GenericWrite = v_uint32() self.GenericExecute = v_uint32() self.GenericAll = v_uint32()
class GENERIC_MAPPING(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.GenericRead = v_uint32() self.GenericWrite = v_uint32() self.GenericExecute = v_uint32() self.GenericAll = v_uint32()
= 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):
64
64
62
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
GENERIC_MAPPING
GENERIC_MAPPING
2,652
2,658
2,652
2,652
058ee21ceb4ad2e8a23d8f95a6845a8933206055
bigcode/the-stack
train