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
a8e725887aa96a9b7d2d54c8
train
class
class DBGKD_CONTINUE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ContinueStatus = v_uint32()
class DBGKD_CONTINUE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ContinueStatus = v_uint32()
v_uint32() self.UsedPageTableEntries = vstruct.VArray([ v_uint16() for i in xrange(768) ]) self.CommittedPageTables = vstruct.VArray([ v_uint32() for i in xrange(24) ]) class DBGKD_CONTINUE(vstruct.VStruct):
63
64
37
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_CONTINUE
DBGKD_CONTINUE
2,257
2,260
2,257
2,257
6fa788da6142217484e2266ea215af4309a6e6e7
bigcode/the-stack
train
a1f38693ac42579cc2dc3e75
train
class
class _unnamed_13383(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.CellData = CELL_DATA()
class _unnamed_13383(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.CellData = CELL_DATA()
() self.OriginalFileObject = v_ptr32() class _unnamed_14762(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Create = _unnamed_15988() class _unnamed_13383(vstruct.VStruct):
64
64
37
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_13383
_unnamed_13383
2,089
2,092
2,089
2,089
0181f8b3d00b6f14ec9379785fb5ae92416ef1ec
bigcode/the-stack
train
75c31f2cc1cd931171d8f1d9
train
class
class CACHED_CHILD_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.ValueList = v_uint32()
class CACHED_CHILD_LIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.ValueList = v_uint32()
.File = v_ptr32() self.ControlArea = v_ptr32() self.FileResource = v_ptr32() self.Mdl = MDL() self.Page = vstruct.VArray([ v_uint32() for i in xrange(1) ]) class CACHED_CHILD_LIST(vstruct.VStruct):
63
64
44
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CACHED_CHILD_LIST
CACHED_CHILD_LIST
2,512
2,516
2,512
2,512
92969ad45904cb509996f087c26592874e198611
bigcode/the-stack
train
6b55322da44ce2d94291cd8f
train
class
class HEAP_ENTRY_EXTRA(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.AllocatorBackTraceIndex = v_uint16() self.TagIndex = v_uint16() self.Settable = v_uint32()
class HEAP_ENTRY_EXTRA(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.AllocatorBackTraceIndex = v_uint16() self.TagIndex = v_uint16() self.Settable = v_uint32()
32() class _unnamed_16627(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DeviceIds = vstruct.VArray([ v_uint16() for i in xrange(1) ]) class HEAP_ENTRY_EXTRA(vstruct.VStruct):
63
64
57
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_ENTRY_EXTRA
HEAP_ENTRY_EXTRA
1,490
1,495
1,490
1,490
c9089f3f0e4aa031da879b2c10fbde1c7f0ef284
bigcode/the-stack
train
3cc8539b83964b7ef3476d46
train
class
class RTL_CRITICAL_SECTION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DebugInfo = v_ptr32() self.LockCount = v_uint32() self.RecursionCount = v_uint32() self.OwningThread = v_ptr32() self.LockSemaphore = v_ptr32() self.SpinCount ...
class RTL_CRITICAL_SECTION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DebugInfo = v_ptr32() self.LockCount = v_uint32() self.RecursionCount = v_uint32() self.OwningThread = v_ptr32() self.LockSemaphore = v_ptr32() self.SpinCount = v_uint32()
_bytes(size=2) self.Mode = v_uint32() self.ServiceCount = v_uint32() self.DispatchCount = v_uint32() self.DispatchCode = vstruct.VArray([ v_uint32() for i in xrange(106) ]) class RTL_CRITICAL_SECTION(vstruct.VStruct):
63
64
86
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
RTL_CRITICAL_SECTION
RTL_CRITICAL_SECTION
2,369
2,377
2,369
2,369
e8f396d3b12da172b270ddd9b6fbc14d417a59cc
bigcode/the-stack
train
3e1e38f6fdac97e95ffb523d
train
class
class _unnamed_16226(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.InPath = v_uint8() self.Reserved = vstruct.VArray([ v_uint8() for i in xrange(3) ]) self.Type = v_uint32()
class _unnamed_16226(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.InPath = v_uint8() self.Reserved = vstruct.VArray([ v_uint8() for i in xrange(3) ]) self.Type = v_uint32()
init__(self) self.ImageInformation = v_ptr32() class _unnamed_12605(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ImageCommitment = v_uint32() class _unnamed_16226(vstruct.VStruct):
64
64
68
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16226
_unnamed_16226
6,970
6,975
6,970
6,970
b965f8cd5f5ca9244adb60e6160b7a82964dc233
bigcode/the-stack
train
2e0716cf26a96321a04108cb
train
class
class TOKEN(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.TokenSource = TOKEN_SOURCE() self.TokenId = LUID() self.AuthenticationId = LUID() self.ParentTokenId = LUID() self.ExpirationTime = LARGE_INTEGER() self.TokenLock = v_ptr32()...
class TOKEN(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.TokenSource = TOKEN_SOURCE() self.TokenId = LUID() self.AuthenticationId = LUID() self.ParentTokenId = LUID() self.ExpirationTime = LARGE_INTEGER() self.TokenLock = v_ptr32() self._pad0038 = v_byt...
ThreadList = LIST_ENTRY() self.FreeNodeList = LIST_ENTRY() self.FreeResourceCount = v_uint32() self.FreeThreadCount = v_uint32() self.FreeNodeCount = v_uint32() self.Instigator = v_ptr32() self.NumberOfParticipants = v_uint32() self.Participant = vstruct.VArray([ ...
105
105
353
7
98
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
TOKEN
TOKEN
3,375
3,410
3,375
3,375
98619776d788aa7057ba04c85048f9c49fff54f2
bigcode/the-stack
train
75bfafa3ceff87398dbb995b
train
class
class MMFREE_POOL_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.List = LIST_ENTRY() self.Size = v_uint32() self.Signature = v_uint32() self.Owner = v_ptr32()
class MMFREE_POOL_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.List = LIST_ENTRY() self.Size = v_uint32() self.Signature = v_uint32() self.Owner = v_ptr32()
self) self.PowerSequence = v_ptr32() class PEB_FREE_BLOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Size = v_uint32() class MMFREE_POOL_ENTRY(vstruct.VStruct):
64
64
59
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMFREE_POOL_ENTRY
MMFREE_POOL_ENTRY
4,966
4,972
4,966
4,966
befb9acdcb6930e42d9d14659de0721dfba5e7fa
bigcode/the-stack
train
030d9f2af060748585bd72e2
train
class
class EJOB(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Event = KEVENT() self.JobLinks = LIST_ENTRY() self.ProcessListHead = LIST_ENTRY() self.JobLock = ERESOURCE() self.TotalUserTime = LARGE_INTEGER() self.TotalKernelTime = LARGE_...
class EJOB(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Event = KEVENT() self.JobLinks = LIST_ENTRY() self.ProcessListHead = LIST_ENTRY() self.JobLock = ERESOURCE() self.TotalUserTime = LARGE_INTEGER() self.TotalKernelTime = LARGE_INTEGER() self.ThisPe...
v_ptr32() self.FastIoDispatch = v_ptr32() 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): def __init__(self): ...
152
152
509
8
144
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EJOB
EJOB
3,038
3,088
3,038
3,038
dfdfe441cb6918bf080f7ee645275372585b960d
bigcode/the-stack
train
01d1c6aaa0d47c8356882534
train
class
class VI_DEADLOCK_RESOURCE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint32() self.NodeCount = v_uint32() self.ResourceAddress = v_ptr32() self.ThreadOwner = v_ptr32() self.ResourceList = LIST_ENTRY() self.HashChainList...
class VI_DEADLOCK_RESOURCE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint32() self.NodeCount = v_uint32() self.ResourceAddress = v_ptr32() self.ThreadOwner = v_ptr32() self.ResourceList = LIST_ENTRY() self.HashChainList = LIST_ENTRY() self.StackTrace = vst...
_bytes(size=2) self.PresentIrpQueue = LIST_ENTRY() self.Head = POP_DEVICE_POWER_IRP() self.PowerIrpState = vstruct.VArray([ POP_DEVICE_POWER_IRP() for i in xrange(20) ]) class VI_DEADLOCK_RESOURCE(vstruct.VStruct):
63
64
148
11
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
VI_DEADLOCK_RESOURCE
VI_DEADLOCK_RESOURCE
1,524
1,535
1,524
1,524
ea7045806af22755ffe8787d4ebf9e19108efca4
bigcode/the-stack
train
2eea2b01fae7cad1083eefe9
train
class
class LPCP_PORT_OBJECT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ConnectionPort = v_ptr32() self.ConnectedPort = v_ptr32() self.MsgQueue = LPCP_PORT_QUEUE() self.Creator = CLIENT_ID() self.ClientSectionBase = v_ptr32() self.Serv...
class LPCP_PORT_OBJECT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ConnectionPort = v_ptr32() self.ConnectedPort = v_ptr32() self.MsgQueue = LPCP_PORT_QUEUE() self.Creator = CLIENT_ID() self.ClientSectionBase = v_ptr32() self.ServerSectionBase = v_ptr32() self.Po...
.__init__(self) self.DoNotUseThisField = v_uint64() class _unnamed_11926(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.FileOffset = LARGE_INTEGER() class LPCP_PORT_OBJECT(vstruct.VStruct):
64
64
191
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
LPCP_PORT_OBJECT
LPCP_PORT_OBJECT
7,023
7,042
7,023
7,023
bbf4e7696e54caf8fd0fa120195919ee0d9d0791
bigcode/the-stack
train
af68110e4123e7fa270e8c57
train
class
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 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()
self.WakeCheck = v_uint32() self.TotalPages = v_uint32() self.FirstTablePage = v_uint32() self.LastFilePage = v_uint32() self.PerfInfo = PO_HIBER_PERF() class HEAP_UCR_SEGMENT(vstruct.VStruct):
64
64
66
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_UCR_SEGMENT
HEAP_UCR_SEGMENT
2,889
2,895
2,889
2,889
f11666221cacbb8478dda032e49f4eeed6d2ce2f
bigcode/the-stack
train
0034a3cb2f9d25e562ff27f9
train
class
class _unnamed_16380(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DataLength = v_uint16() self.TotalLength = v_uint16()
class _unnamed_16380(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DataLength = v_uint16() self.TotalLength = v_uint16()
64() self.WriteOperationCount = v_uint64() self.OtherOperationCount = v_uint64() self.ReadTransferCount = v_uint64() self.WriteTransferCount = v_uint64() self.OtherTransferCount = v_uint64() class _unnamed_16380(vstruct.VStruct):
64
64
47
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16380
_unnamed_16380
4,422
4,426
4,422
4,422
cb4de260a5721f207f0974519f5675d638d1a2e3
bigcode/the-stack
train
2effd28b242294f114c6fc6b
train
class
class FAST_MUTEX(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.Owner = v_ptr32() self.Contention = v_uint32() self.Event = KEVENT() self.OldIrql = v_uint32()
class FAST_MUTEX(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.Owner = v_ptr32() self.Contention = v_uint32() self.Event = KEVENT() self.OldIrql = v_uint32()
__(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 FAST_MUTEX(vstruct.VStruct):
64
64
68
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FAST_MUTEX
FAST_MUTEX
4,313
4,320
4,313
4,313
941a43a888f03b129a486df48b47a10b0c5f6ed9
bigcode/the-stack
train
c7ba95fd65002336e214c8ca
train
class
class PRIVATE_CACHE_MAP(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NodeTypeCode = v_uint16() self._pad0004 = v_bytes(size=2) self.ReadAheadMask = v_uint32() self.FileObject = v_ptr32() self._pad0010 = v_bytes(size=4) self.FileOff...
class PRIVATE_CACHE_MAP(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.NodeTypeCode = v_uint16() self._pad0004 = v_bytes(size=2) self.ReadAheadMask = v_uint32() self.FileObject = v_ptr32() self._pad0010 = v_bytes(size=4) self.FileOffset1 = LARGE_INTEGER() self.Beyond...
self.Failed = LIST_ENTRY() class HEAP_FREE_ENTRY_EXTRA(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.TagIndex = v_uint16() self.FreeBackTraceIndex = v_uint16() class PRIVATE_CACHE_MAP(vstruct.VStruct):
64
64
198
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PRIVATE_CACHE_MAP
PRIVATE_CACHE_MAP
6,695
6,711
6,695
6,695
87784c1a709bff1e36a5983d40df2eb7dcd36363
bigcode/the-stack
train
d28381459091342808604890
train
class
class CM_RESOURCE_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.List = vstruct.VArray([ CM_FULL_RESOURCE_DESCRIPTOR() for i in xrange(1) ])
class CM_RESOURCE_LIST(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.List = vstruct.VArray([ CM_FULL_RESOURCE_DESCRIPTOR() for i in xrange(1) ])
): 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 CM_RESOURCE_LIST(vstruct.VStruct):
63
64
56
9
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CM_RESOURCE_LIST
CM_RESOURCE_LIST
1,873
1,877
1,873
1,873
c34949c24356f166181ba45cbbb30bc6465871d3
bigcode/the-stack
train
0b2ae8f6d52024d66169010a
train
class
class KINTERRUPT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.Size = v_uint16() self.InterruptListEntry = LIST_ENTRY() self.ServiceRoutine = v_ptr32() self.ServiceContext = v_ptr32() self.SpinLock = v_uint32(...
class KINTERRUPT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.Size = v_uint16() self.InterruptListEntry = LIST_ENTRY() self.ServiceRoutine = v_ptr32() self.ServiceContext = v_ptr32() self.SpinLock = v_uint32() self.TickCount = v_uint32...
32() self.Gdtr = DESCRIPTOR() self.Idtr = DESCRIPTOR() self.Tr = v_uint16() self.Ldtr = v_uint16() self.Reserved = vstruct.VArray([ v_uint32() for i in xrange(6) ]) class KINTERRUPT(vstruct.VStruct):
69
70
235
10
59
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KINTERRUPT
KINTERRUPT
2,343
2,366
2,343
2,343
6d13f6930dfd9a3b2bcdb70cdf0e8b7d33a51e62
bigcode/the-stack
train
604888e2ec0125d3df8407f5
train
class
class DBGKD_MANIPULATE_STATE32(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ApiNumber = v_uint32() self.ProcessorLevel = v_uint16() self.Processor = v_uint16() self.ReturnStatus = v_uint32() self.u = _unnamed_11882()
class DBGKD_MANIPULATE_STATE32(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ApiNumber = v_uint32() self.ProcessorLevel = v_uint16() self.Processor = v_uint16() self.ReturnStatus = v_uint32() self.u = _unnamed_11882()
_uint32() self.Calls = v_uint32() self.MaxCallsPerPeriod = v_uint32() self.MinInstructions = v_uint32() self.MaxInstructions = v_uint32() self.TotalInstructions = v_uint32() class DBGKD_MANIPULATE_STATE32(vstruct.VStruct):
64
64
79
14
50
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_MANIPULATE_STATE32
DBGKD_MANIPULATE_STATE32
715
722
715
715
694b5b399589b89b1988ae57aec6b6f46b4f5b3c
bigcode/the-stack
train
7b9b821238f1715466180638
train
class
class PM_SUPPORT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Rsvd2 = v_uint8()
class PM_SUPPORT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Rsvd2 = v_uint8()
.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 PM_SUPPORT(vstruct.VStruct):
64
64
36
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PM_SUPPORT
PM_SUPPORT
5,863
5,866
5,863
5,863
00a9c02642e578ebac93b53233f020af57552aa7
bigcode/the-stack
train
8487bbf861cd3359ad307859
train
class
class RTL_RANGE_LIST(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 RTL_RANGE_LIST(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()
Pages = v_uint32() 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 RTL_RANGE_LIST(vstruct.VStruct):
63
64
59
9
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
RTL_RANGE_LIST
RTL_RANGE_LIST
3,166
3,172
3,166
3,166
4af8f41bc1770793f99b7a72394092f28c20821e
bigcode/the-stack
train
41d04679d20f33c210811823
train
class
class MMPAGING_FILE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint32() self.MaximumSize = v_uint32() self.MinimumSize = v_uint32() self.FreeSpace = v_uint32() self.CurrentUsage = v_uint32() self.PeakUsage = v_uint32() ...
class MMPAGING_FILE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Size = v_uint32() self.MaximumSize = v_uint32() self.MinimumSize = v_uint32() self.FreeSpace = v_uint32() self.CurrentUsage = v_uint32() self.PeakUsage = v_uint32() self.Hint = v_uint32() ...
_unnamed_16299() class BATTERY_REPORTING_SCALE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Granularity = v_uint32() self.Capacity = v_uint32() class MMPAGING_FILE(vstruct.VStruct):
64
64
210
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMPAGING_FILE
MMPAGING_FILE
3,850
3,870
3,850
3,850
39139e7991b995f49bc02a42adb1d50cac223ac8
bigcode/the-stack
train
825c4bd4c94845e676fd0205
train
class
class KSPECIAL_REGISTERS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Cr0 = v_uint32() self.Cr2 = v_uint32() self.Cr3 = v_uint32() self.Cr4 = v_uint32() self.KernelDr0 = v_uint32() self.KernelDr1 = v_uint32() self.KernelDr2...
class KSPECIAL_REGISTERS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Cr0 = v_uint32() self.Cr2 = v_uint32() self.Cr3 = v_uint32() self.Cr4 = v_uint32() self.KernelDr0 = v_uint32() self.KernelDr1 = v_uint32() self.KernelDr2 = v_uint32() self.KernelDr3 = v_ui...
): def __init__(self): vstruct.VStruct.__init__(self) self.Usage = v_uint32() self.Limit = v_uint32() self.Peak = v_uint32() self.Return = v_uint32() class KSPECIAL_REGISTERS(vstruct.VStruct):
64
64
191
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KSPECIAL_REGISTERS
KSPECIAL_REGISTERS
2,323
2,340
2,323
2,323
e67415057c8c75a7a8272989842492a4cd87cc8f
bigcode/the-stack
train
b5f1c852a94de7b12fd7e27c
train
class
class ACCESS_STATE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.OperationID = LUID() self.SecurityEvaluated = v_uint8() self.GenerateAudit = v_uint8() self.GenerateOnClose = v_uint8() self.PrivilegesAllocated = v_uint8() self.Flags...
class ACCESS_STATE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.OperationID = LUID() self.SecurityEvaluated = v_uint8() self.GenerateAudit = v_uint8() self.GenerateOnClose = v_uint8() self.PrivilegesAllocated = v_uint8() self.Flags = v_uint32() self.RemainingD...
self.Operation = v_uint8() self.Reserved = v_uint8() self._pad0008 = v_bytes(size=2) self.DeviceObject = v_ptr32() self.FileObject = v_ptr32() self.Parameters = FS_FILTER_PARAMETERS() class ACCESS_STATE(vstruct.VStruct):
64
64
199
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ACCESS_STATE
ACCESS_STATE
1,162
1,181
1,162
1,162
391548bc2394cd52d8f0a81b4f9901c36966d2fa
bigcode/the-stack
train
bf0a69496bc00f43ad56d8ae
train
class
class HEAP_VIRTUAL_ALLOC_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Entry = LIST_ENTRY() self.ExtraStuff = HEAP_ENTRY_EXTRA() self.CommitSize = v_uint32() self.ReserveSize = v_uint32() self.BusyBlock = HEAP_ENTRY()
class HEAP_VIRTUAL_ALLOC_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Entry = LIST_ENTRY() self.ExtraStuff = HEAP_ENTRY_EXTRA() self.CommitSize = v_uint32() self.ReserveSize = v_uint32() self.BusyBlock = HEAP_ENTRY()
_bytes(size=1) self.MHz = v_uint32() self.FeatureBits = v_uint32() self.UpdateSignature = LARGE_INTEGER() self.NpxSaveArea = FX_SAVE_AREA() self.PowerState = PROCESSOR_POWER_STATE() class HEAP_VIRTUAL_ALLOC_ENTRY(vstruct.VStruct):
64
64
76
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_VIRTUAL_ALLOC_ENTRY
HEAP_VIRTUAL_ALLOC_ENTRY
5,966
5,973
5,966
5,966
59bf32f52006eaa7b88c40c9dda5dc5ae888aeef
bigcode/the-stack
train
38321b557e3e334b587c6d68
train
class
class PCI_HEADER_TYPE_DEPENDENT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.type0 = _unnamed_14410()
class PCI_HEADER_TYPE_DEPENDENT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.type0 = _unnamed_14410()
= v_uint32() self.SubjectContext = SECURITY_SUBJECT_CONTEXT() class MMPTE_PROTOTYPE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32() class PCI_HEADER_TYPE_DEPENDENT(vstruct.VStruct):
64
64
41
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PCI_HEADER_TYPE_DEPENDENT
PCI_HEADER_TYPE_DEPENDENT
6,882
6,885
6,882
6,882
8402db69cd62404755f14d4edb20b3785bce5e52
bigcode/the-stack
train
0f23c79f098088cc0f6b48f6
train
class
class TERMINATION_PORT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Port = v_ptr32()
class TERMINATION_PORT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Port = v_ptr32()
def __init__(self): vstruct.VStruct.__init__(self) self.SecurityQos = v_ptr32() self.AccessState = v_ptr32() self.DesiredAccess = v_uint32() self.FullCreateOptions = v_uint32() class TERMINATION_PORT(vstruct.VStruct):
64
64
42
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
TERMINATION_PORT
TERMINATION_PORT
4,488
4,492
4,488
4,488
b0e1aaa5ad98f2dc623ad432c241f0e6dec6372d
bigcode/the-stack
train
90e00f01e1f172255b8f1b61
train
class
class DBGKD_GET_CONTEXT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Unused = v_uint32()
class DBGKD_GET_CONTEXT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Unused = v_uint32()
32() self.EFlags = v_uint32() self.Esp = v_uint32() self.SegSs = v_uint32() self.ExtendedRegisters = vstruct.VArray([ v_uint8() for i in xrange(512) ]) class DBGKD_GET_CONTEXT(vstruct.VStruct):
63
64
36
10
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_GET_CONTEXT
DBGKD_GET_CONTEXT
2,646
2,649
2,646
2,646
df569ee3bae24ce976b7824aed5b405b670608d5
bigcode/the-stack
train
2b30d031999b1015f8504886
train
class
class _unnamed_12979(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Overlay = _unnamed_14765() self._pad0030 = v_bytes(size=8)
class _unnamed_12979(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Overlay = _unnamed_14765() self._pad0030 = v_bytes(size=8)
() self.Flags = v_uint8() self.NameLength = v_uint8() self.Name = vstruct.VArray([ v_uint16() for i in xrange(1) ]) self._pad0010 = v_bytes(size=2) class _unnamed_12979(vstruct.VStruct):
64
64
54
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_12979
_unnamed_12979
6,568
6,572
6,568
6,568
ac199d3012e23d2bf4273cdb72507a3355a9d567
bigcode/the-stack
train
9ad96f7f8d12befb1244859a
train
class
class _unnamed_16781(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SyncType = v_uint32() self.PageProtection = v_uint32()
class _unnamed_16781(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SyncType = v_uint32() self.PageProtection = v_uint32()
v_ptr32() self.Argument5 = v_ptr32() class _unnamed_16780(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ResourceToRelease = v_ptr32() class _unnamed_16781(vstruct.VStruct):
64
64
47
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16781
_unnamed_16781
2,396
2,400
2,396
2,396
a20268869c01581b09dc081498595e5cfc8b034d
bigcode/the-stack
train
973f72e7a19f30842612b672
train
class
class PRIVATE_CACHE_MAP_FLAGS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DontUse = v_uint32()
class PRIVATE_CACHE_MAP_FLAGS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DontUse = v_uint32()
Struct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.NextTable = v_uint32() self.CheckSum = v_uint32() self.EntryCount = v_uint32() class PRIVATE_CACHE_MAP_FLAGS(vstruct.VStruct):
64
64
37
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PRIVATE_CACHE_MAP_FLAGS
PRIVATE_CACHE_MAP_FLAGS
1,804
1,807
1,804
1,804
15a2e6eaa230c123a2940dbb9f08027c9c24775e
bigcode/the-stack
train
62fb3f74b2f0e296d50fc520
train
class
class DBGKD_ANY_CONTROL_SET(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.X86ControlSet = X86_DBGKD_CONTROL_SET() self._pad001c = v_bytes(size=12)
class DBGKD_ANY_CONTROL_SET(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.X86ControlSet = X86_DBGKD_CONTROL_SET() self._pad001c = v_bytes(size=12)
StorageMap = v_ptr32() self.SystemDefaultActivationContextData = v_ptr32() self.SystemAssemblyStorageMap = v_ptr32() self.MinimumStackCommit = v_uint32() self._pad0210 = v_bytes(size=4) class DBGKD_ANY_CONTROL_SET(vstruct.VStruct):
64
64
55
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_ANY_CONTROL_SET
DBGKD_ANY_CONTROL_SET
5,112
5,116
5,112
5,112
d7cde051bb4f3f91171d8f75f33be7404ae5a5b5
bigcode/the-stack
train
5bb615a8afecd81b5514ebea
train
class
class _unnamed_14102(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LongFlags = v_uint32()
class _unnamed_14102(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.LongFlags = v_uint32()
Array([ v_uint32() for i in xrange(24) ]) class DBGKD_CONTINUE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ContinueStatus = v_uint32() class _unnamed_14102(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14102
_unnamed_14102
2,263
2,266
2,263
2,263
7dca26e19e3e26fff960a9e322e67a6a761ce6db
bigcode/the-stack
train
3084c8e851ae21540330c2ad
train
class
class _unnamed_12606(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ImageInformation = v_ptr32()
class _unnamed_12606(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ImageInformation = v_ptr32()
def __init__(self): vstruct.VStruct.__init__(self) self.Argument1 = v_ptr32() self.Argument2 = v_ptr32() self.Argument3 = v_ptr32() self.Argument4 = v_ptr32() class _unnamed_12606(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_12606
_unnamed_12606
6,958
6,961
6,958
6,958
624997ef80f09ce3c13b0e4d9b6343586cad4878
bigcode/the-stack
train
2227a85afe7174496e296b80
train
class
class HARDWARE_PTE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
class HARDWARE_PTE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
self.Links = LIST_ENTRY() self.BasePage = v_uint64() self.FirstDirtyPage = v_uint32() self.LastDirtyPage = v_uint32() self.DirtyPages = v_uint32() self.Bitmap = v_ptr32() class HARDWARE_PTE(vstruct.VStruct):
64
64
35
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HARDWARE_PTE
HARDWARE_PTE
766
769
766
766
d1e55274208797b98e1230c2020b4b508d3d38cd
bigcode/the-stack
train
1f298cf27d88d2b24c9a6e06
train
class
class VI_POOL_ENTRY_INUSE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.VirtualAddress = v_ptr32() self.CallingAddress = v_ptr32() self.NumberOfBytes = v_uint32() self.Tag = v_uint32()
class VI_POOL_ENTRY_INUSE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.VirtualAddress = v_ptr32() self.CallingAddress = v_ptr32() self.NumberOfBytes = v_uint32() self.Tag = v_uint32()
32() self.Size = v_uint32() self.TagIndex = v_uint16() self.CreatorBackTraceIndex = v_uint16() self.TagName = vstruct.VArray([ v_uint16() for i in xrange(24) ]) class VI_POOL_ENTRY_INUSE(vstruct.VStruct):
63
64
65
11
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
VI_POOL_ENTRY_INUSE
VI_POOL_ENTRY_INUSE
974
980
974
974
e245d2dc4bb7c483276e6b3d1d3aac35b13f4321
bigcode/the-stack
train
66c76b96d9f395e9d62776e4
train
class
class _unnamed_16205(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Lock = v_uint8()
class _unnamed_16205(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Lock = v_uint8()
_uint32() class STRING(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint16() self.MaximumLength = v_uint16() self.Buffer = v_ptr32() class _unnamed_16205(vstruct.VStruct):
64
64
37
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16205
_unnamed_16205
3,890
3,893
3,890
3,890
1453233343481e6b0c5e9de0c4043bbea7f78864
bigcode/the-stack
train
bbd97385db8f5b919f7f2e66
train
class
class _unnamed_16634(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Notification = v_ptr32()
class _unnamed_16634(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Notification = v_ptr32()
_bytes(size=2) class _unnamed_16636(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NotificationCode = v_uint32() self.NotificationData = v_uint32() class _unnamed_16634(vstruct.VStruct):
64
64
37
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16634
_unnamed_16634
6,845
6,848
6,845
6,845
b718f2b18ee0a8f4aab049e13309412618ceab25
bigcode/the-stack
train
583671ed714db5d57bfacced
train
class
class DBGKD_GET_SET_BUS_DATA(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BusDataType = v_uint32() self.BusNumber = v_uint32() self.SlotNumber = v_uint32() self.Offset = v_uint32() self.Length = v_uint32()
class DBGKD_GET_SET_BUS_DATA(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BusDataType = v_uint32() self.BusNumber = v_uint32() self.SlotNumber = v_uint32() self.Offset = v_uint32() self.Length = v_uint32()
self.BootRecover = v_uint32() class BUS_EXTENSION_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.BusExtension = v_ptr32() class DBGKD_GET_SET_BUS_DATA(vstruct.VStruct):
64
64
74
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_GET_SET_BUS_DATA
DBGKD_GET_SET_BUS_DATA
5,167
5,174
5,167
5,167
42fc38e05fa1966b91d9c28ba054e57b55a26fb6
bigcode/the-stack
train
9570d000cfd4ab07e74e72cd
train
class
class DBGKM_EXCEPTION64(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionRecord = EXCEPTION_RECORD64() self.FirstChance = v_uint32() self._pad00a0 = v_bytes(size=4)
class DBGKM_EXCEPTION64(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionRecord = EXCEPTION_RECORD64() self.FirstChance = v_uint32() self._pad00a0 = v_bytes(size=4)
self): vstruct.VStruct.__init__(self) self.BaseMid = v_uint32() class flags(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Removable = v_uint8() class DBGKM_EXCEPTION64(vstruct.VStruct):
64
64
60
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKM_EXCEPTION64
DBGKM_EXCEPTION64
5,846
5,851
5,846
5,846
156e75798b1b7f6a3e739716ecdb83a6bfff6dd8
bigcode/the-stack
train
0694a0b84af0a300a2343532
train
class
class NT_TIB(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionList = v_ptr32() self.StackBase = v_ptr32() self.StackLimit = v_ptr32() self.SubSystemTib = v_ptr32() self.FiberData = v_ptr32() self.ArbitraryUserPointer = v_ptr32...
class NT_TIB(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionList = v_ptr32() self.StackBase = v_ptr32() self.StackLimit = v_ptr32() self.SubSystemTib = v_ptr32() self.FiberData = v_ptr32() self.ArbitraryUserPointer = v_ptr32() self.Self = v_ptr32(...
self.BaseLow = v_uint16() self.HighWord = _unnamed_13092() class MMPFNENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Modified = v_uint32() class NT_TIB(vstruct.VStruct):
64
64
94
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
NT_TIB
NT_TIB
4,902
4,911
4,902
4,902
2d25c8c01657eafab188b1a771e13564cf082229
bigcode/the-stack
train
eeb1bc699d2a651839de106d
train
class
class _unnamed_12973(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.MasterIrp = v_ptr32()
class _unnamed_12973(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.MasterIrp = v_ptr32()
(7) ]) self.SystemWake = v_uint32() self.DeviceWake = v_uint32() self.D1Latency = v_uint32() self.D2Latency = v_uint32() self.D3Latency = v_uint32() class _unnamed_12973(vstruct.VStruct):
64
64
39
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_12973
_unnamed_12973
855
858
855
855
3fed40cd2c83f11a13caf4a9f9319555c7de8cba
bigcode/the-stack
train
6ed095635577d23d507179ac
train
class
class ARBITER_INSTANCE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.MutexEvent = v_ptr32() self.Name = v_ptr32() self.ResourceType = v_uint32() self.Allocation = v_ptr32() self.PossibleAllocation = v_ptr...
class ARBITER_INSTANCE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.MutexEvent = v_ptr32() self.Name = v_ptr32() self.ResourceType = v_uint32() self.Allocation = v_ptr32() self.PossibleAllocation = v_ptr32() self.OrderingList = ARBITER_...
__(self) self.NodeTypeCode = v_uint16() self.NodeByteSize = v_uint16() self.FileObject = v_ptr32() self.BytesToWrite = v_uint32() self.DeferredWriteLinks = LIST_ENTRY() self.Event = v_ptr32() self.PostRoutine = v_ptr32() self.Context1 = v_ptr32() s...
121
121
406
10
111
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ARBITER_INSTANCE
ARBITER_INSTANCE
5,339
5,379
5,339
5,339
1f4ab3d285acd6ed872a156134cdea19c88abfae
bigcode/the-stack
train
6f8a41e20b56b6c1845fa781
train
class
class KMUTANT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.MutantListEntry = LIST_ENTRY() self.OwnerThread = v_ptr32() self.Abandoned = v_uint8() self.ApcDisable = v_uint8() self._pad0020 = v_bytes...
class KMUTANT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.MutantListEntry = LIST_ENTRY() self.OwnerThread = v_ptr32() self.Abandoned = v_uint8() self.ApcDisable = v_uint8() self._pad0020 = v_bytes(size=2)
= v_ptr32() self.ProcessID = v_ptr32() self.Callers = v_uint32() self.CallerAddress = vstruct.VArray([ v_ptr32() for i in xrange(10) ]) self.KeyBodyList = LIST_ENTRY() class KMUTANT(vstruct.VStruct):
64
64
88
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
KMUTANT
KMUTANT
1,985
1,993
1,985
1,985
b3624e25a8a88b4b32da4021e5f8236bcffe9d6b
bigcode/the-stack
train
706e1e9df7ffca601ce8da5a
train
class
class DBGKD_QUERY_MEMORY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Address = v_uint64() self.Reserved = v_uint64() self.AddressSpace = v_uint32() self.Flags = v_uint32()
class DBGKD_QUERY_MEMORY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Address = v_uint64() self.Reserved = v_uint64() self.AddressSpace = v_uint32() self.Flags = v_uint32()
) class PCI_SECONDARY_EXTENSION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.List = SINGLE_LIST_ENTRY() self.ExtensionType = v_uint32() self.Destructor = v_ptr32() class DBGKD_QUERY_MEMORY(vstruct.VStruct):
64
64
61
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_QUERY_MEMORY
DBGKD_QUERY_MEMORY
3,978
3,984
3,978
3,978
a6fc5eb5f8661640fef59b852ec2100b9f623c69
bigcode/the-stack
train
deb46654583eab7c95b05c77
train
class
class DUAL(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.Map = v_ptr32() self.SmallDir = v_ptr32() self.Guard = v_uint32() self.FreeDisplay = vstruct.VArray([ RTL_BITMAP() for i in xrange(24) ]) self.FreeSum...
class DUAL(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.Map = v_ptr32() self.SmallDir = v_ptr32() self.Guard = v_uint32() self.FreeDisplay = vstruct.VArray([ RTL_BITMAP() for i in xrange(24) ]) self.FreeSummary = v_uint32() sel...
self.Subsection = v_ptr32() self.LargeControlArea = v_ptr32() self.MmSectionFlags = v_ptr32() self.MmSubSectionFlags = v_ptr32() self._pad0030 = v_bytes(size=4) class DUAL(vstruct.VStruct):
64
64
97
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DUAL
DUAL
604
613
604
604
acc10599b217a12b729efe6bcb4843a918d0ae06
bigcode/the-stack
train
475f248e0b1c1735497bbfc2
train
class
class DBGKD_QUERY_SPECIAL_CALLS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.NumberOfSpecialCalls = v_uint32()
class DBGKD_QUERY_SPECIAL_CALLS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.NumberOfSpecialCalls = v_uint32()
() self.LockAddress = v_ptr32() self.PendingFrees = v_ptr32() self.PendingFreeDepth = v_uint32() self.ListHeads = vstruct.VArray([ LIST_ENTRY() for i in xrange(512) ]) class DBGKD_QUERY_SPECIAL_CALLS(vstruct.VStruct):
63
64
40
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_QUERY_SPECIAL_CALLS
DBGKD_QUERY_SPECIAL_CALLS
4,534
4,537
4,534
4,534
b3d4df6d911fdbf57784c0cf4fc11fff1845d5b4
bigcode/the-stack
train
802f7de07f020af085ceb4e4
train
class
class _unnamed_16663(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.CheckSum = v_uint32()
class _unnamed_16663(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Signature = v_uint32() self.CheckSum = v_uint32()
Length = v_uint16() class CM_KEY_SECURITY_CACHE_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Cell = v_uint32() self.CachedSecurity = v_ptr32() class _unnamed_16663(vstruct.VStruct):
64
64
47
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16663
_unnamed_16663
6,942
6,946
6,942
6,942
011403a811a8235967bde9e744e9b5529f773d35
bigcode/the-stack
train
a7619daf5b229dbc5dd1bb7a
train
class
class TEB_ACTIVE_FRAME(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Flags = v_uint32() self.Previous = v_ptr32() self.Context = v_ptr32()
class TEB_ACTIVE_FRAME(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Flags = v_uint32() self.Previous = v_ptr32() self.Context = v_ptr32()
) self.s1 = _unnamed_16380() class _unnamed_15735(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.s2 = _unnamed_16385() class TEB_ACTIVE_FRAME(vstruct.VStruct):
64
64
52
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
TEB_ACTIVE_FRAME
TEB_ACTIVE_FRAME
4,776
4,781
4,776
4,776
f8d78854b7f7cb7d64670bf857707e4333e63fc9
bigcode/the-stack
train
da97fe786ba37d760d4c877a
train
class
class _unnamed_16200(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.WhichSpace = v_uint32() self.Buffer = v_ptr32() self.Offset = v_uint32() self.Length = v_uint32()
class _unnamed_16200(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.WhichSpace = v_uint32() self.Buffer = v_ptr32() self.Offset = v_uint32() self.Length = v_uint32()
self.Extended = v_uint8() self.HintSetToZero = v_uint8() self.BootPartition = v_uint8() self._pad0040 = v_bytes(size=1) self.FileHandle = v_ptr32() class _unnamed_16200(vstruct.VStruct):
64
64
63
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16200
_unnamed_16200
3,873
3,879
3,873
3,873
02cc1900f800f33e1a278865cb2f876acd558f0f
bigcode/the-stack
train
2668cbd3f9691701fcf7614b
train
class
class CELL_DATA(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.u = u()
class CELL_DATA(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.u = u()
= v_uint32() class UNICODE_STRING(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint16() self.MaximumLength = v_uint16() self.Buffer = v_ptr32() class CELL_DATA(vstruct.VStruct):
64
64
31
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CELL_DATA
CELL_DATA
4,928
4,931
4,928
4,928
ce65197d15a4612225fc62d66a2af110be7ba727
bigcode/the-stack
train
67c8fa358d4fc94716c1dc21
train
class
class CALL_PERFORMANCE_DATA(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 CALL_PERFORMANCE_DATA(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.SpinLock = v_uint32() self.HashTable = vstruct.VArray([ LIST_ENTRY() for i in xrange(64) ])
DataInfoChainHead = LIST_ENTRY() self.ServerProcess = v_ptr32() self.MaxMessageLength = v_uint16() self.MaxConnectionInfoLength = v_uint16() self.Flags = v_uint32() self.WaitEvent = KEVENT() class CALL_PERFORMANCE_DATA(vstruct.VStruct):
64
64
58
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CALL_PERFORMANCE_DATA
CALL_PERFORMANCE_DATA
7,045
7,049
7,045
7,045
36c6b04bb5cb3466c71b64602845da2c4652a6ba
bigcode/the-stack
train
170f4f805705c8df9bb23807
train
class
class _unnamed_15130(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.IoStatus = IO_STATUS_BLOCK()
class _unnamed_15130(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.IoStatus = IO_STATUS_BLOCK()
riticalSection = RTL_CRITICAL_SECTION() self.RtlHandleTable = RTL_HANDLE_TABLE() self.NumberOfBuckets = v_uint32() self.Buckets = vstruct.VArray([ v_ptr32() for i in xrange(1) ]) class _unnamed_15130(vstruct.VStruct):
63
64
39
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_15130
_unnamed_15130
2,721
2,724
2,721
2,721
b65c629f0236bd775eb4d6a1a0e0e0dc3ec20943
bigcode/the-stack
train
bcdf80130d63eb16f6fd68e9
train
class
class _unnamed_16561(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.AllocatedResources = v_ptr32()
class _unnamed_16561(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.AllocatedResources = v_ptr32()
(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SourceName = vstruct.VArray([ v_uint8() for i in xrange(8) ]) self.SourceIdentifier = LUID() class _unnamed_16561(vstruct.VStruct):
64
64
39
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16561
_unnamed_16561
5,828
5,831
5,828
5,828
b228bb94b9a58a44b6642a197e7d4653c72a253f
bigcode/the-stack
train
75ecfb77e3e0aabaa703ac56
train
class
class FILE_OBJECT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.Size = v_uint16() self.DeviceObject = v_ptr32() self.Vpb = v_ptr32() self.FsContext = v_ptr32() self.FsContext2 = v_ptr32() self.SectionO...
class FILE_OBJECT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Type = v_uint16() self.Size = v_uint16() self.DeviceObject = v_ptr32() self.Vpb = v_ptr32() self.FsContext = v_ptr32() self.FsContext2 = v_ptr32() self.SectionObjectPointer = v_ptr32() sel...
00c4 = v_bytes(size=1) self.CommandEnables = v_uint16() self.InitialCommand = v_uint16() class IMAGE_DATA_DIRECTORY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.VirtualAddress = v_uint32() self.Size = v_uint32() class FILE_OBJECT(vstruct.VStruct...
80
80
269
8
72
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FILE_OBJECT
FILE_OBJECT
6,438
6,467
6,438
6,438
0915c8df91e430ea35ed9abbc31456fbfc45f141
bigcode/the-stack
train
cc3d61f569a2623ff12a7cd8
train
class
class ADAPTER_OBJECT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self)
class ADAPTER_OBJECT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self)
_uint8() self._pad01c0 = v_bytes(size=4) class _unnamed_12531(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LongFlags = v_uint32() class ADAPTER_OBJECT(vstruct.VStruct):
64
64
26
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ADAPTER_OBJECT
ADAPTER_OBJECT
2,604
2,606
2,604
2,604
9d374b14e0842afedf8bd55e9d178f18de7e6844
bigcode/the-stack
train
88ef6ed496e7dde6f9920f5b
train
class
class _unnamed_13227(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LongFlags = v_uint32()
class _unnamed_13227(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.LongFlags = v_uint32()
= _unnamed_14102() self.ControlArea = v_ptr32() self.FirstPrototypePte = v_ptr32() self.LastContiguousPte = v_ptr32() self.u2 = _unnamed_14103() class _unnamed_13227(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_13227
_unnamed_13227
7,124
7,127
7,124
7,124
2112542f6195d1cf94076765069e45030bda9418
bigcode/the-stack
train
3d39e68b723e1bf030a75266
train
class
class _unnamed_16075(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.CompletionFilter = v_uint32()
class _unnamed_16075(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.CompletionFilter = v_uint32()
.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.CommittedSize = v_uint64() self.ReferenceCount = v_uint32() self._pad0010 = v_bytes(size=4) class _unnamed_16075(vstruct.VStruct):
64
64
47
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16075
_unnamed_16075
7,351
7,355
7,351
7,351
c5819d28e25f1e5fa1f2d759be2d103be0e820b5
bigcode/the-stack
train
e92b949869cb879431b3907e
train
class
class _unnamed_13534(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Level = v_uint32()
class _unnamed_13534(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Level = v_uint32()
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 _unnamed_13534(vstruct.VStruct):
64
64
37
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_13534
_unnamed_13534
4,394
4,397
4,394
4,394
06c5bc9ac826b9ca06c718fe4aeceb839fd5d552
bigcode/the-stack
train
f3032ed66589c406aab95239
train
class
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 EVENT_COUNTER(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ListEntry = SINGLE_LIST_ENTRY() self.RefCount = v_uint32() self.Event = KEVENT()
.VStruct.__init__(self) self.Initialized = v_uint32() class _unnamed_14629(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.type0 = PCI_HEADER_TYPE_0() class EVENT_COUNTER(vstruct.VStruct):
64
64
50
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EVENT_COUNTER
EVENT_COUNTER
1,412
1,417
1,412
1,412
9cd35adece96c5ea4a498ba5a19cd3ca87349329
bigcode/the-stack
train
0475e0fd7f9c89e3676cc9c1
train
class
class FS_FILTER_PARAMETERS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.AcquireForModifiedPageWriter = _unnamed_16779() self._pad0014 = v_bytes(size=12)
class FS_FILTER_PARAMETERS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.AcquireForModifiedPageWriter = _unnamed_16779() self._pad0014 = v_bytes(size=12)
self.CheckSum = v_uint32() self.EntryCount = v_uint32() class PRIVATE_CACHE_MAP_FLAGS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DontUse = v_uint32() class FS_FILTER_PARAMETERS(vstruct.VStruct):
64
64
55
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FS_FILTER_PARAMETERS
FS_FILTER_PARAMETERS
1,810
1,814
1,810
1,810
8eeb0abbd9a00562cff05abfb83ee71204a5fbf3
bigcode/the-stack
train
795293fad1f35c6d8452561a
train
class
class PEB_FREE_BLOCK(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Size = v_uint32()
class PEB_FREE_BLOCK(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Size = v_uint32()
.VStruct.__init__(self) self.PowerState = v_uint32() class _unnamed_16236(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PowerSequence = v_ptr32() class PEB_FREE_BLOCK(vstruct.VStruct):
64
64
43
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PEB_FREE_BLOCK
PEB_FREE_BLOCK
4,959
4,963
4,959
4,959
13d50d71a7d156b577ca3d2bfe6f9dbf5060fbdd
bigcode/the-stack
train
8f70e0718e3236fe84d89381
train
class
class _unnamed_16307(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.MinimumChannel = v_uint32() self.MaximumChannel = v_uint32()
class _unnamed_16307(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.MinimumChannel = v_uint32() self.MaximumChannel = v_uint32()
() 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_16307(vstruct.VStruct):
63
64
47
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16307
_unnamed_16307
5,721
5,725
5,721
5,721
7438c661496149555d553403a8fda43bc991e012
bigcode/the-stack
train
226b1fdc63f00847a9f2d57b
train
class
class OWNER_ENTRY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.OwnerThread = v_uint32() self.OwnerCount = v_uint32()
class OWNER_ENTRY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.OwnerThread = v_uint32() self.OwnerCount = v_uint32()
self.AllocatedResourcesTranslated = v_ptr32() class OBJECT_HANDLE_INFORMATION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.HandleAttributes = v_uint32() self.GrantedAccess = v_uint32() class OWNER_ENTRY(vstruct.VStruct):
64
64
43
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
OWNER_ENTRY
OWNER_ENTRY
1,019
1,023
1,019
1,019
bbd3e411e2b67481caa21ed59db84786ab567c7e
bigcode/the-stack
train
df86b5a85933693ad24b9d0d
train
class
class SEP_AUDIT_POLICY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.PolicyElements = SEP_AUDIT_POLICY_CATEGORIES()
class SEP_AUDIT_POLICY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.PolicyElements = SEP_AUDIT_POLICY_CATEGORIES()
(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.HashKey = vstruct.VArray([ v_uint32() for i in xrange(1) ]) class SEP_AUDIT_POLICY(vstruct.VStruct):
63
64
41
11
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SEP_AUDIT_POLICY
SEP_AUDIT_POLICY
1,348
1,351
1,348
1,348
2c4fbe23b219f5d963331b95f056c6c938241f2a
bigcode/the-stack
train
fc4b5ec9ffd7ce0ef4f47357
train
class
class EXCEPTION_RECORD64(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionCode = v_uint32() self.ExceptionFlags = v_uint32() self.ExceptionRecord = v_uint64() self.ExceptionAddress = v_uint64() self.NumberParameters = v_uint32() ...
class EXCEPTION_RECORD64(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ExceptionCode = v_uint32() self.ExceptionFlags = v_uint32() self.ExceptionRecord = v_uint64() self.ExceptionAddress = v_uint64() self.NumberParameters = v_uint32() self.unusedAlignment = v_uint32() ...
amed_16315(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Priority = v_uint32() self.Reserved1 = v_uint32() self.Reserved2 = v_uint32() class EXCEPTION_RECORD64(vstruct.VStruct):
64
64
104
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
EXCEPTION_RECORD64
EXCEPTION_RECORD64
886
895
886
886
c87f043520bf64de8e339c6478efd65510b90e26
bigcode/the-stack
train
c293f3c28a3ec291aad48da4
train
class
class MMWSLE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.u1 = _unnamed_13252()
class MMWSLE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.u1 = _unnamed_13252()
self) self.FileOffset = v_uint32() class LIST_ENTRY32(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Flink = v_uint32() self.Blink = v_uint32() class MMWSLE(vstruct.VStruct):
64
64
38
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMWSLE
MMWSLE
3,944
3,947
3,944
3,944
b029db5582d980f4f527b6c4ea889f847f7a17dc
bigcode/the-stack
train
14f895635d41ec15bad73f79
train
class
class _unnamed_16218(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DeviceTextType = v_uint32() self.LocaleId = v_uint32()
class _unnamed_16218(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DeviceTextType = v_uint32() self.LocaleId = v_uint32()
_12111(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.FreeListsInUseUlong = vstruct.VArray([ v_uint32() for i in xrange(4) ]) class _unnamed_16218(vstruct.VStruct):
63
64
48
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16218
_unnamed_16218
1,393
1,397
1,393
1,393
54fc4eea9b13b533e4e9a282ac568a4a23191ad6
bigcode/the-stack
train
9edd0f35cb8bca96639be2fe
train
class
class MMPTE_PROTOTYPE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
class MMPTE_PROTOTYPE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
.HiveList = LIST_ENTRY() self.PostList = LIST_ENTRY() self.KeyControlBlock = v_ptr32() self.KeyBody = v_ptr32() self.Filter = v_uint32() self.SubjectContext = SECURITY_SUBJECT_CONTEXT() class MMPTE_PROTOTYPE(vstruct.VStruct):
64
64
37
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMPTE_PROTOTYPE
MMPTE_PROTOTYPE
6,876
6,879
6,876
6,876
be90c79dcd8740a87c1358fac5fc532d1689e4e7
bigcode/the-stack
train
ae7ea1a485ccbf88f6bd8133
train
class
class _unnamed_15560(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Base = v_uint32() self.Limit = v_uint32()
class _unnamed_15560(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Base = v_uint32() self.Limit = v_uint32()
) self.Free = v_uint32() class LUID_AND_ATTRIBUTES(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Luid = LUID() self.Attributes = v_uint32() class _unnamed_15560(vstruct.VStruct):
64
64
46
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_15560
_unnamed_15560
2,487
2,491
2,487
2,487
10aeed2b7d072bdfc77825e2e06cf21a7dc7aacc
bigcode/the-stack
train
fca44b81b4603e239e253b0f
train
class
class POP_POWER_ACTION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Updates = v_uint8() self.State = v_uint8() self.Shutdown = v_uint8() self._pad0004 = v_bytes(size=1) self.Action = v_uint32() self.LightestState = v_uint32() ...
class POP_POWER_ACTION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Updates = v_uint8() self.State = v_uint8() self.Shutdown = v_uint8() self._pad0004 = v_bytes(size=1) self.Action = v_uint32() self.LightestState = v_uint32() self.Flags = v_uint32() self.S...
i in xrange(2) ]) self.AllowDemotion = v_uint32() class _unnamed_16213(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.IdType = v_uint32() class POP_POWER_ACTION(vstruct.VStruct):
64
64
200
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
POP_POWER_ACTION
POP_POWER_ACTION
1,603
1,623
1,603
1,603
825d1ad736f6373f385331b29c76d403873241a4
bigcode/the-stack
train
ec661437df0a692ce3d48e4e
train
class
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 POWER_ACTION_POLICY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Action = v_uint32() self.Flags = v_uint32() self.EventCode = v_uint32()
_uint32() self.FileInformationClass = v_uint32() self.FileObject = v_ptr32() self.ReplaceIfExists = v_uint8() self.AdvanceOnly = v_uint8() self._pad0010 = v_bytes(size=2) class POWER_ACTION_POLICY(vstruct.VStruct):
64
64
51
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
POWER_ACTION_POLICY
POWER_ACTION_POLICY
5,739
5,744
5,739
5,739
684d6dde26640732b67e56e2e3e7c0e8fae0ef61
bigcode/the-stack
train
817e29f301ff65126204dbf9
train
class
class DBGKD_WRITE_BREAKPOINT32(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BreakPointAddress = v_uint32() self.BreakPointHandle = v_uint32()
class DBGKD_WRITE_BREAKPOINT32(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BreakPointAddress = v_uint32() self.BreakPointHandle = v_uint32()
self.Token = v_ptr32() self.CopyOnOpen = v_uint8() self.EffectiveOnly = v_uint8() self._pad0008 = v_bytes(size=2) self.ImpersonationLevel = v_uint32() class DBGKD_WRITE_BREAKPOINT32(vstruct.VStruct):
64
64
51
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_WRITE_BREAKPOINT32
DBGKD_WRITE_BREAKPOINT32
7,238
7,242
7,238
7,238
8feea6fe4edb509a7a9bdf590645422dfa4ea129
bigcode/the-stack
train
9504addda2aaaa1df22f1d0a
train
class
class PCI_ARBITER_INSTANCE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Header = PCI_SECONDARY_EXTENSION() self.Interface = v_ptr32() self.BusFdoExtension = v_ptr32() self.InstanceName = vstruct.VArray([ v_uint16() for i in xrange(24) ]) s...
class PCI_ARBITER_INSTANCE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Header = PCI_SECONDARY_EXTENSION() self.Interface = v_ptr32() self.BusFdoExtension = v_ptr32() self.InstanceName = vstruct.VArray([ v_uint16() for i in xrange(24) ]) self.CommonInstance = ARBITER_INSTANCE()
.Header = DISPATCHER_HEADER() class KSEMAPHORE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Header = DISPATCHER_HEADER() self.Limit = v_uint32() class PCI_ARBITER_INSTANCE(vstruct.VStruct):
64
64
88
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PCI_ARBITER_INSTANCE
PCI_ARBITER_INSTANCE
5,204
5,211
5,204
5,204
fbb2c59ac74f41a50bfa9396bda4e4517263aa48
bigcode/the-stack
train
9a000ae980b81cf5cd627c58
train
class
class SYSTEM_POWER_LEVEL(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Enable = v_uint8() self.Spare = vstruct.VArray([ v_uint8() for i in xrange(3) ]) self.BatteryLevel = v_uint32() self.PowerPolicy = POWER_ACTION_POLICY() self.MinSystemSt...
class SYSTEM_POWER_LEVEL(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Enable = v_uint8() self.Spare = vstruct.VArray([ v_uint8() for i in xrange(3) ]) self.BatteryLevel = v_uint32() self.PowerPolicy = POWER_ACTION_POLICY() self.MinSystemState = v_uint32()
self) self.Header = POOL_HEADER() self.List = LIST_ENTRY() class DBGKD_SET_SPECIAL_CALL32(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.SpecialCall = v_uint32() class SYSTEM_POWER_LEVEL(vstruct.VStruct):
64
64
85
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
SYSTEM_POWER_LEVEL
SYSTEM_POWER_LEVEL
1,214
1,221
1,214
1,214
7e07e74f79b41b211be7643ab5ca891a02f409bd
bigcode/the-stack
train
3022fe08f36f74cd0249b801
train
class
class DBGKD_CONTINUE2(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.ContinueStatus = v_uint32() self.ControlSet = X86_DBGKD_CONTROL_SET() self._pad0020 = v_bytes(size=12)
class DBGKD_CONTINUE2(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.ContinueStatus = v_uint32() self.ControlSet = X86_DBGKD_CONTROL_SET() self._pad0020 = v_bytes(size=12)
.VStruct.__init__(self) self.AcquireForLazyWrite = v_ptr32() self.ReleaseFromLazyWrite = v_ptr32() self.AcquireForReadAhead = v_ptr32() self.ReleaseFromReadAhead = v_ptr32() class DBGKD_CONTINUE2(vstruct.VStruct):
64
64
63
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_CONTINUE2
DBGKD_CONTINUE2
3,806
3,811
3,806
3,806
0a7057a48e349d131d3474cde27ceca4b98b8a71
bigcode/the-stack
train
f0005f24b9bdc172f0908a1d
train
class
class PROCESSOR_POWER_STATE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.IdleFunction = v_ptr32() self.Idle0KernelTimeLimit = v_uint32() self.Idle0LastTime = v_uint32() self.IdleHandlers = v_ptr32() self.IdleState = v_ptr32() self....
class PROCESSOR_POWER_STATE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.IdleFunction = v_ptr32() self.Idle0KernelTimeLimit = v_uint32() self.Idle0LastTime = v_uint32() self.IdleHandlers = v_ptr32() self.IdleState = v_ptr32() self.IdleHandlersCount = v_uint32() self.La...
struct.VStruct.__init__(self) self.OutputBufferLength = v_uint32() self.InputBufferLength = v_uint32() self.FsControlCode = v_uint32() self.Type3InputBuffer = v_ptr32() class _unnamed_16505(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Mb...
171
171
572
10
161
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PROCESSOR_POWER_STATE
PROCESSOR_POWER_STATE
3,462
3,512
3,462
3,462
4151fc0e7f34fae6da7c04cac65c91097b9eec52
bigcode/the-stack
train
c192aa0a4e5eaa387ed8b457
train
class
class DBGKD_RESTORE_BREAKPOINT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.BreakPointHandle = v_uint32()
class DBGKD_RESTORE_BREAKPOINT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.BreakPointHandle = v_uint32()
) self.Version = v_uint16() self.Revision = v_uint16() self.Count = v_uint32() self.PartialDescriptors = vstruct.VArray([ CM_PARTIAL_RESOURCE_DESCRIPTOR() for i in xrange(1) ]) class DBGKD_RESTORE_BREAKPOINT(vstruct.VStruct):
63
64
40
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DBGKD_RESTORE_BREAKPOINT
DBGKD_RESTORE_BREAKPOINT
833
836
833
833
96813a85f37223ece5d132e72ce27257c166c4ff
bigcode/the-stack
train
d8de9760cc60ce052b760064
train
class
class HEAP(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Entry = HEAP_ENTRY() self.Signature = v_uint32() self.Flags = v_uint32() self.ForceFlags = v_uint32() self.VirtualMemoryThreshold = v_uint32() self.SegmentReserve = v_uint32()...
class HEAP(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Entry = HEAP_ENTRY() self.Signature = v_uint32() self.Flags = v_uint32() self.ForceFlags = v_uint32() self.VirtualMemoryThreshold = v_uint32() self.SegmentReserve = v_uint32() self.SegmentCommit =...
self.NextTable = v_uint32() self.CheckSum = v_uint32() self.EntryCount = v_uint32() class PRIVATE_CACHE_MAP_FLAGS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DontUse = v_uint32() class FS_FILTER_PARAMETERS(vstruct.VStruct): def __init__(self): ...
126
126
421
8
118
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP
HEAP
1,817
1,855
1,817
1,817
dad0d25e607aed05ddbbd746f23141d11f583a0d
bigcode/the-stack
train
f2ca9ed784279349879abe28
train
class
class _unnamed_16509(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DeviceNumber = v_uint32()
class _unnamed_16509(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DeviceNumber = v_uint32()
) self.Type = v_uint8() self.Absolute = v_uint8() self.Size = v_uint8() self.Inserted = v_uint8() self.SignalState = v_uint32() self.WaitListHead = LIST_ENTRY() class _unnamed_16509(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16509
_unnamed_16509
3,432
3,435
3,432
3,432
04ceb27c64e3f20f18df98987abc611e66994656
bigcode/the-stack
train
f70846d13cce468a4d7e6015
train
class
class _unnamed_14745(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.UserApcRoutine = v_ptr32() self.UserApcContext = v_ptr32()
class _unnamed_14745(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.UserApcRoutine = v_ptr32() self.UserApcContext = v_ptr32()
SR(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Msr = v_uint32() self.DataValueLow = v_uint32() self.DataValueHigh = v_uint32() class _unnamed_14745(vstruct.VStruct):
64
64
51
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14745
_unnamed_14745
6,363
6,367
6,363
6,363
617dda7b6f2a4ea8ad54b988cf656de339295586
bigcode/the-stack
train
5f9041d369958df951c73dd2
train
class
class _unnamed_13153(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.EntireFrame = v_uint32()
class _unnamed_13153(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.EntireFrame = v_uint32()
Struct.__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 _unnamed_13153(vstruct.VStruct):
63
64
39
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_13153
_unnamed_13153
638
641
638
638
9056ef3efc149113cb022ea02fd3c3371550225e
bigcode/the-stack
train
263c18f3a89061905cd6aca3
train
class
class _unnamed_12918(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DockStatus = v_uint32() self.ListEntry = LIST_ENTRY() self.SerialNumber = v_ptr32()
class _unnamed_12918(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DockStatus = v_uint32() self.ListEntry = LIST_ENTRY() self.SerialNumber = v_ptr32()
i in xrange(512) ]) class KSPIN_LOCK_QUEUE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Next = v_ptr32() self.Lock = v_ptr32() class _unnamed_12918(vstruct.VStruct):
64
64
55
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_12918
_unnamed_12918
4,129
4,134
4,129
4,129
32faa05ee5810e39975ab5bb53c8cefc0561444a
bigcode/the-stack
train
4c84feae38f2d45f1d05df43
train
class
class LIST_ENTRY64(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Flink = v_uint64() self.Blink = v_uint64()
class LIST_ENTRY64(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Flink = v_uint64() self.Blink = v_uint64()
__init__(self): vstruct.VStruct.__init__(self) self.DeviceListEntry = LIST_ENTRY() self.SortKey = v_uint32() self.Inserted = v_uint8() self._pad0010 = v_bytes(size=3) class LIST_ENTRY64(vstruct.VStruct):
64
64
44
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
LIST_ENTRY64
LIST_ENTRY64
4,010
4,014
4,010
4,010
66a87d1f6b0c266772a1b83421d1fe47924917dc
bigcode/the-stack
train
061afd0182b37df5479af7ff
train
class
class _unnamed_16094(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32()
class _unnamed_16094(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32()
._pad0030 = v_bytes(size=8) class CHILD_LIST(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Count = v_uint32() self.List = v_uint32() class _unnamed_16094(vstruct.VStruct):
64
64
37
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16094
_unnamed_16094
6,582
6,585
6,582
6,582
9a99705cc359a65e5ad1dd4a990b4ed43d6de399
bigcode/the-stack
train
77daf3298e669e644c9122cf
train
class
class u(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.KeyNode = CM_KEY_NODE()
class u(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.KeyNode = CM_KEY_NODE()
self.DesktopInfo = UNICODE_STRING() self.ShellInfo = UNICODE_STRING() self.RuntimeData = UNICODE_STRING() self.CurrentDirectores = vstruct.VArray([ RTL_DRIVE_LETTER_CURDIR() for i in xrange(32) ]) class u(vstruct.VStruct):
63
64
33
7
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
u
u
7,391
7,394
7,391
7,391
012100e03df12a47dafb3d9c818b1b20386a40b0
bigcode/the-stack
train
4cb4b7d9c9a922a8b6577314
train
class
class _unnamed_14105(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Banked = v_ptr32()
class _unnamed_14105(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Banked = v_ptr32()
.WorkerRoutine = v_ptr32() self.Parameter = v_ptr32() class _unnamed_14104(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.List = LIST_ENTRY() class _unnamed_14105(vstruct.VStruct):
64
64
38
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_14105
_unnamed_14105
2,308
2,311
2,308
2,308
ec4181300cf262d84c5c669f9185d2110813ef26
bigcode/the-stack
train
e3627938cecd7b7c2ac351c5
train
class
class MMPFN(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.u1 = _unnamed_13150() self.PteAddress = v_ptr32() self.u2 = _unnamed_13151() self.u3 = _unnamed_13152() self.OriginalPte = MMPTE() self.u4 = _unnamed_13153()
class MMPFN(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.u1 = _unnamed_13150() self.PteAddress = v_ptr32() self.u2 = _unnamed_13151() self.u3 = _unnamed_13152() self.OriginalPte = MMPTE() self.u4 = _unnamed_13153()
i in xrange(3) ]) self.Reserved2 = v_uint32() self.InterruptLine = v_uint8() self.InterruptPin = v_uint8() self.MinimumGrant = v_uint8() self.MaximumLatency = v_uint8() class MMPFN(vstruct.VStruct):
64
64
95
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMPFN
MMPFN
3,779
3,787
3,779
3,779
99487b7665d55e2bcd67b3eb1fb7e6ed593824e5
bigcode/the-stack
train
b1f177266a29f5d52ef29b8c
train
class
class PO_DEVICE_NOTIFY(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Link = LIST_ENTRY() self.TargetDevice = v_ptr32() self.WakeNeeded = v_uint8() self.OrderLevel = v_uint8() self._pad0010 = v_bytes(size=2) self.DeviceObject = v_ptr...
class PO_DEVICE_NOTIFY(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Link = LIST_ENTRY() self.TargetDevice = v_ptr32() self.WakeNeeded = v_uint8() self.OrderLevel = v_uint8() self._pad0010 = v_bytes(size=2) self.DeviceObject = v_ptr32() self.Node = v_ptr32() ...
) self.Flink = v_uint64() self.Blink = v_uint64() class MMPTE_SUBSECTION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32() class PO_DEVICE_NOTIFY(vstruct.VStruct):
64
64
127
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
PO_DEVICE_NOTIFY
PO_DEVICE_NOTIFY
4,023
4,036
4,023
4,023
470255fc7c6162f0a1cbce0d703e01e3ef1b3b8c
bigcode/the-stack
train
20dad04f16f5230490ba8d6d
train
class
class _unnamed_16143(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.StartSid = v_ptr32() self.SidList = v_ptr32() self.SidListLength = v_uint32()
class _unnamed_16143(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Length = v_uint32() self.StartSid = v_ptr32() self.SidList = v_ptr32() self.SidListLength = v_uint32()
self.PinViewList = LIST_ENTRY() self.FileOffset = v_uint32() self.Size = v_uint32() self.ViewAddress = v_ptr32() self.Bcb = v_ptr32() self.UseCount = v_uint32() class _unnamed_16143(vstruct.VStruct):
64
64
67
12
52
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
_unnamed_16143
_unnamed_16143
2,124
2,130
2,124
2,124
f0bcd4dcb192820f5ee69d5561ad98e50c4a10ee
bigcode/the-stack
train
e65d56eb3c15aa6cdc3960bd
train
class
class MMSUPPORT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LastTrimTime = LARGE_INTEGER() self.Flags = MMSUPPORT_FLAGS() self.PageFaultCount = v_uint32() self.PeakWorkingSetSize = v_uint32() self.WorkingSetSize = v_uint32() self....
class MMSUPPORT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.LastTrimTime = LARGE_INTEGER() self.Flags = MMSUPPORT_FLAGS() self.PageFaultCount = v_uint32() self.PeakWorkingSetSize = v_uint32() self.WorkingSetSize = v_uint32() self.MinimumWorkingSetSize = v_uint32()...
) class DBGKD_ANY_CONTROL_SET(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.X86ControlSet = X86_DBGKD_CONTROL_SET() self._pad001c = v_bytes(size=12) class MMSUPPORT(vstruct.VStruct):
64
64
173
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMSUPPORT
MMSUPPORT
5,119
5,135
5,119
5,119
3cc67484c60cf6c36eead8945e1b791d460aab2e
bigcode/the-stack
train
5eaf2a6956d3b4173bbabc5f
train
class
class FILE_STANDARD_INFORMATION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.AllocationSize = LARGE_INTEGER() self.EndOfFile = LARGE_INTEGER() self.NumberOfLinks = v_uint32() self.DeletePending = v_uint8() self.Directory = v_uint8() ...
class FILE_STANDARD_INFORMATION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.AllocationSize = LARGE_INTEGER() self.EndOfFile = LARGE_INTEGER() self.NumberOfLinks = v_uint32() self.DeletePending = v_uint8() self.Directory = v_uint8() self._pad0018 = v_bytes(size=2)
self.Privileges = _unnamed_14065() self.AuditPrivileges = v_uint8() self._pad0064 = v_bytes(size=3) self.ObjectName = UNICODE_STRING() self.ObjectTypeName = UNICODE_STRING() class FILE_STANDARD_INFORMATION(vstruct.VStruct):
64
64
84
9
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
FILE_STANDARD_INFORMATION
FILE_STANDARD_INFORMATION
1,184
1,192
1,184
1,184
c296046bd32d67d18850a3888c9e72792305b48f
bigcode/the-stack
train
23139874a3d74670a31abf29
train
class
class CACHE_MANAGER_CALLBACKS(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.AcquireForLazyWrite = v_ptr32() self.ReleaseFromLazyWrite = v_ptr32() self.AcquireForReadAhead = v_ptr32() self.ReleaseFromReadAhead = v_ptr32()
class CACHE_MANAGER_CALLBACKS(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.AcquireForLazyWrite = v_ptr32() self.ReleaseFromLazyWrite = v_ptr32() self.AcquireForReadAhead = v_ptr32() self.ReleaseFromReadAhead = v_ptr32()
self.u4 = _unnamed_13153() class OBJECT_DUMP_CONTROL(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Stream = v_ptr32() self.Detail = v_uint32() class CACHE_MANAGER_CALLBACKS(vstruct.VStruct):
64
64
73
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CACHE_MANAGER_CALLBACKS
CACHE_MANAGER_CALLBACKS
3,797
3,803
3,797
3,797
b2267da05617f12d8a68f74dc8cfc403121e47fc
bigcode/the-stack
train
43d7a06119119adbaa2a7b38
train
class
class ARBITER_ORDERING(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Start = v_uint64() self.End = v_uint64()
class ARBITER_ORDERING(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Start = v_uint64() self.End = v_uint64()
init__(self): vstruct.VStruct.__init__(self) self.InPath = v_uint8() self.Reserved = vstruct.VArray([ v_uint8() for i in xrange(3) ]) self.Type = v_uint32() class ARBITER_ORDERING(vstruct.VStruct):
64
64
44
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
ARBITER_ORDERING
ARBITER_ORDERING
6,978
6,982
6,978
6,978
e30790e5736f736ba12617aa7f990e1fb9947bf1
bigcode/the-stack
train
5f381116558db7f643cdc267
train
class
class DEVICE_MAP(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.DosDevicesDirectory = v_ptr32() self.GlobalDosDevicesDirectory = v_ptr32() self.ReferenceCount = v_uint32() self.DriveMap = v_uint32() self.DriveType = vstruct.VArray([ v_uint8(...
class DEVICE_MAP(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.DosDevicesDirectory = v_ptr32() self.GlobalDosDevicesDirectory = v_ptr32() self.ReferenceCount = v_uint32() self.DriveMap = v_uint32() self.DriveType = vstruct.VArray([ v_uint8() for i in xrange(32) ])
= _unnamed_13534() class CM_CACHED_VALUE_INDEX(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.CellIndex = v_uint32() self.Data = _unnamed_13383() class DEVICE_MAP(vstruct.VStruct):
64
64
89
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
DEVICE_MAP
DEVICE_MAP
5,521
5,528
5,521
5,521
888fcd27fb21140af1386d3bb8047bed908d02b3
bigcode/the-stack
train
2790098b40c55957127b2df2
train
class
class HANDLE_TABLE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.TableCode = v_uint32() self.QuotaProcess = v_ptr32() self.UniqueProcessId = v_ptr32() self.HandleTableLock = vstruct.VArray([ EX_PUSH_LOCK() for i in xrange(4) ]) self.HandleT...
class HANDLE_TABLE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.TableCode = v_uint32() self.QuotaProcess = v_ptr32() self.UniqueProcessId = v_ptr32() self.HandleTableLock = vstruct.VArray([ EX_PUSH_LOCK() for i in xrange(4) ]) self.HandleTableList = LIST_ENTRY() self....
_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 HANDLE_TABLE(vstruct.VStruct):
63
64
164
8
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HANDLE_TABLE
HANDLE_TABLE
5,286
5,301
5,286
5,286
7af6e0291a9db72ef836a0ad646ec32d5d7a0b8f
bigcode/the-stack
train
47f37706d24cb023da7ca423
train
class
class LUID(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.LowPart = v_uint32() self.HighPart = v_uint32()
class LUID(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.LowPart = v_uint32() self.HighPart = v_uint32()
) self.StartingVa = v_ptr32() self.EndingVa = v_ptr32() self.Parent = v_ptr32() self.LeftChild = v_ptr32() self.RightChild = v_ptr32() self.Segment = v_ptr32() class LUID(vstruct.VStruct):
64
64
43
8
56
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
LUID
LUID
3,689
3,693
3,689
3,689
2b65544504ca92f280e9caea41a4672210bf7871
bigcode/the-stack
train
7f5379ae35c3f60f9849da57
train
class
class 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...
class 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 =...
32() self.GlobalDosDevicesDirectory = v_ptr32() self.ReferenceCount = v_uint32() self.DriveMap = v_uint32() self.DriveType = vstruct.VArray([ v_uint8() for i in xrange(32) ]) class CONTROL_AREA(vstruct.VStruct):
63
64
164
8
55
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
CONTROL_AREA
CONTROL_AREA
5,531
5,546
5,531
5,531
03b94d1d476920a1dd63fecf1f132dbc8a7c976a
bigcode/the-stack
train
0977fd30a0664e4ed1789d38
train
class
class MMPTE_HARDWARE(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
class MMPTE_HARDWARE(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
self.Revision = v_uint8() self.SubAuthorityCount = v_uint8() self.IdentifierAuthority = SID_IDENTIFIER_AUTHORITY() self.SubAuthority = vstruct.VArray([ v_uint32() for i in xrange(1) ]) class MMPTE_HARDWARE(vstruct.VStruct):
63
64
37
12
51
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMPTE_HARDWARE
MMPTE_HARDWARE
625
628
625
625
77e955753c109fed290147f590bd357979041e67
bigcode/the-stack
train
a44b7c8dd07359ace371f5db
train
class
class HEAP_SEGMENT(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Entry = HEAP_ENTRY() self.Signature = v_uint32() self.Flags = v_uint32() self.Heap = v_ptr32() self.LargestUnCommittedRange = v_uint32() self.BaseAddress = v_ptr32() ...
class HEAP_SEGMENT(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Entry = HEAP_ENTRY() self.Signature = v_uint32() self.Flags = v_uint32() self.Heap = v_ptr32() self.LargestUnCommittedRange = v_uint32() self.BaseAddress = v_ptr32() self.NumberOfPages = v_uint32(...
.BlockedDriverGuid = GUID() class _unnamed_16131(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Vpb = v_ptr32() self.DeviceObject = v_ptr32() class HEAP_SEGMENT(vstruct.VStruct):
64
64
177
10
54
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
HEAP_SEGMENT
HEAP_SEGMENT
6,656
6,673
6,656
6,656
0ee42ff920cfc41e3e83ff26dcb77271b8aedad5
bigcode/the-stack
train
033258bc4eb4d80d0dde6179
train
class
class MMPTE_SUBSECTION(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
class MMPTE_SUBSECTION(vstruct.VStruct):
def __init__(self): vstruct.VStruct.__init__(self) self.Valid = v_uint32()
0010 = v_bytes(size=3) class LIST_ENTRY64(vstruct.VStruct): def __init__(self): vstruct.VStruct.__init__(self) self.Flink = v_uint64() self.Blink = v_uint64() class MMPTE_SUBSECTION(vstruct.VStruct):
64
64
36
11
53
cmaruti/vivisect
vstruct/defs/windows/win_5_1_i386/ntoskrnl.py
Python
MMPTE_SUBSECTION
MMPTE_SUBSECTION
4,017
4,020
4,017
4,017
e79f059ce54819fb9edf97bb321bd17477a6a7b9
bigcode/the-stack
train