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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e79bdb186ca76df0c3f7fe27 | train | class | class ARBITER_LIST_ENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ListEntry = LIST_ENTRY()
self.AlternativeCount = v_uint32()
self.Alternatives = v_ptr32()
self.PhysicalDeviceObject = v_ptr32()
self.RequestSource = v_uint32()
s... | class ARBITER_LIST_ENTRY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ListEntry = LIST_ENTRY()
self.AlternativeCount = v_uint32()
self.Alternatives = v_ptr32()
self.PhysicalDeviceObject = v_ptr32()
self.RequestSource = v_uint32()
self.Flags = v_uint32()
self.WorkSpa... | def __init__(self):
vstruct.VStruct.__init__(self)
self.ConvKey = v_uint32()
self.NextHash = v_ptr32()
self.KeyHive = v_ptr32()
self.KeyCell = v_uint32()
class ARBITER_LIST_ENTRY(vstruct.VStruct):
| 64 | 64 | 147 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | ARBITER_LIST_ENTRY | ARBITER_LIST_ENTRY | 4,854 | 4,869 | 4,854 | 4,854 | 403c1a8a1f4d576c895c7e6061db8ddea397896f | bigcode/the-stack | train |
f761602b30f2ed0cc9fc6739 | train | class | class DBGKD_READ_WRITE_IO_EXTENDED64(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.DataSize = v_uint32()
self.InterfaceType = v_uint32()
self.BusNumber = v_uint32()
self.AddressSpace = v_uint32()
self.IoAddress = v_uint64()
self.Dat... | class DBGKD_READ_WRITE_IO_EXTENDED64(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.DataSize = v_uint32()
self.InterfaceType = v_uint32()
self.BusNumber = v_uint32()
self.AddressSpace = v_uint32()
self.IoAddress = v_uint64()
self.DataValue = v_uint32()
self._pad0020 = v_bytes(siz... | amed_16023(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
self.Key = v_uint32()
self.ByteOffset = LARGE_INTEGER()
class DBGKD_READ_WRITE_IO_EXTENDED64(vstruct.VStruct):
| 64 | 64 | 99 | 14 | 50 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DBGKD_READ_WRITE_IO_EXTENDED64 | DBGKD_READ_WRITE_IO_EXTENDED64 | 3,099 | 3,108 | 3,099 | 3,099 | 13d22462c1d73f35c6b491a84a47757fffdb8cab | bigcode/the-stack | train |
717c32f5a89066bc6ed9c313 | train | class | class TOKEN_CONTROL(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.TokenId = LUID()
self.AuthenticationId = LUID()
self.ModifiedId = LUID()
self.TokenSource = TOKEN_SOURCE()
| class TOKEN_CONTROL(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.TokenId = LUID()
self.AuthenticationId = LUID()
self.ModifiedId = LUID()
self.TokenSource = TOKEN_SOURCE()
| ()
self.CallCount = v_uint32()
class _unnamed_16125(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SecurityInformation = v_uint32()
self.Length = v_uint32()
class TOKEN_CONTROL(vstruct.VStruct):
| 64 | 64 | 57 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | TOKEN_CONTROL | TOKEN_CONTROL | 4,695 | 4,701 | 4,695 | 4,695 | 04b53ef8f1561e7034f2577987299261a1f54b0e | bigcode/the-stack | train |
3d7fd60faf972b3d824a56b1 | train | class | class POOL_DESCRIPTOR(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.PoolType = v_uint32()
self.PoolIndex = v_uint32()
self.RunningAllocs = v_uint32()
self.RunningDeAllocs = v_uint32()
self.TotalPages = v_uint32()
self.TotalBigPages ... | class POOL_DESCRIPTOR(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.PoolType = v_uint32()
self.PoolIndex = v_uint32()
self.RunningAllocs = v_uint32()
self.RunningDeAllocs = v_uint32()
self.TotalPages = v_uint32()
self.TotalBigPages = v_uint32()
self.Threshold = v_... | (vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Atom = v_uint32()
self.OldIrql = v_uint8()
self._pad0008 = v_bytes(size=3)
class POOL_DESCRIPTOR(vstruct.VStruct):
| 64 | 64 | 147 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | POOL_DESCRIPTOR | POOL_DESCRIPTOR | 4,518 | 4,531 | 4,518 | 4,518 | ceb2ddb19ed75a851092f9b2e7caa5a08df5338e | bigcode/the-stack | train |
2fddde323b7b992df7ece5ad | train | class | class MMSECTION_FLAGS(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.BeingDeleted = v_uint32()
| class MMSECTION_FLAGS(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.BeingDeleted = v_uint32()
| self.Generic = _unnamed_14637()
class CM_KEY_REFERENCE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.KeyCell = v_uint32()
self.KeyHive = v_ptr32()
class MMSECTION_FLAGS(vstruct.VStruct):
| 64 | 64 | 36 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | MMSECTION_FLAGS | MMSECTION_FLAGS | 1,559 | 1,562 | 1,559 | 1,559 | 0ec66ce23311943dd45f110d95f2cfced908ec19 | bigcode/the-stack | train |
5c3277620a11f6e0aac8708d | train | class | class HMAP_ENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.BlockAddress = v_uint32()
self.BinAddress = v_uint32()
self.CmView = v_ptr32()
self.MemAlloc = v_uint32()
| class HMAP_ENTRY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.BlockAddress = v_uint32()
self.BinAddress = v_uint32()
self.CmView = v_ptr32()
self.MemAlloc = v_uint32()
| (vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Next = v_ptr32()
self.Address = v_uint32()
self.Size = v_uint32()
self.filler = v_uint32()
class HMAP_ENTRY(vstruct.VStruct):
| 64 | 64 | 65 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | HMAP_ENTRY | HMAP_ENTRY | 4,549 | 4,555 | 4,549 | 4,549 | a3a9abe2c530b50336cd1e848c4187860adc4b59 | bigcode/the-stack | train |
2425814d085a8cf4ed4b88c6 | train | class | class CM_KEY_VALUE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Signature = v_uint16()
self.NameLength = v_uint16()
self.DataLength = v_uint32()
self.Data = v_uint32()
self.Type = v_uint32()
self.Flags = v_uint16()
self.Spa... | class CM_KEY_VALUE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Signature = v_uint16()
self.NameLength = v_uint16()
self.DataLength = v_uint32()
self.Data = v_uint32()
self.Type = v_uint32()
self.Flags = v_uint16()
self.Spare = v_uint16()
self.Name = v... | ])
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 CM_KEY_VALUE(vstruct.VStruct):
| 64 | 64 | 120 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | CM_KEY_VALUE | CM_KEY_VALUE | 3,917 | 3,928 | 3,917 | 3,917 | c1f2bebbee4028471dc2d94f21432a2bbd26deaa | bigcode/the-stack | train |
c9b4a4147fc11ed1aa10fdd1 | train | class | class _unnamed_16554(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ArbitrationList = v_ptr32()
self.AllocateFromCount = v_uint32()
self.AllocateFrom = v_ptr32()
| class _unnamed_16554(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ArbitrationList = v_ptr32()
self.AllocateFromCount = v_uint32()
self.AllocateFrom = v_ptr32()
| vstruct.VStruct.__init__(self)
self.OutputBufferLength = v_uint32()
self.InputBufferLength = v_uint32()
self.IoControlCode = v_uint32()
self.Type3InputBuffer = v_ptr32()
class _unnamed_16554(vstruct.VStruct):
| 64 | 64 | 61 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16554 | _unnamed_16554 | 4,713 | 4,718 | 4,713 | 4,713 | 15e684fd08a22e211fbe013f6ecb54d662b9ef7e | bigcode/the-stack | train |
f73f0e9d208cb5217b3f9257 | train | class | class VPB(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Type = v_uint16()
self.Size = v_uint16()
self.Flags = v_uint16()
self.VolumeLabelLength = v_uint16()
self.DeviceObject = v_ptr32()
self.RealDevice = v_ptr32()
self.Seri... | class VPB(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Type = v_uint16()
self.Size = v_uint16()
self.Flags = v_uint16()
self.VolumeLabelLength = v_uint16()
self.DeviceObject = v_ptr32()
self.RealDevice = v_ptr32()
self.SerialNumber = v_uint32()
... | struct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.LockQueue = KSPIN_LOCK_QUEUE()
self.OldIrql = v_uint8()
self._pad000c = v_bytes(size=3)
class VPB(vstruct.VStruct):
| 64 | 64 | 117 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | VPB | VPB | 1,723 | 1,734 | 1,723 | 1,723 | f2deb38fef52e426c9e1162194209ce9ac019bc0 | bigcode/the-stack | train |
13097058bf919d77b9c76567 | train | class | class PNP_DEVICE_EVENT_LIST(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Status = v_uint32()
self.EventQueueMutex = KMUTANT()
self.Lock = FAST_MUTEX()
self.List = LIST_ENTRY()
| class PNP_DEVICE_EVENT_LIST(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Status = v_uint32()
self.EventQueueMutex = KMUTANT()
self.Lock = FAST_MUTEX()
self.List = LIST_ENTRY()
| .InitMsg = STRING()
self.ProgMsg = STRING()
self.DoneMsg = STRING()
self.FileObject = v_ptr32()
self.UsageType = v_uint32()
self._pad00b0 = v_bytes(size=4)
class PNP_DEVICE_EVENT_LIST(vstruct.VStruct):
| 64 | 64 | 60 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | PNP_DEVICE_EVENT_LIST | PNP_DEVICE_EVENT_LIST | 4,575 | 4,581 | 4,575 | 4,575 | 6489632ae230168c2843047df7db8217ac318f15 | bigcode/the-stack | train |
785b4df6789579d175fe7084 | train | class | class _unnamed_15795(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.DeviceClass = _unnamed_16624()
| class _unnamed_15795(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.DeviceClass = _unnamed_16624()
| emid = v_uint16()
self.e_oeminfo = v_uint16()
self.e_res2 = vstruct.VArray([ v_uint16() for i in xrange(10) ])
self.e_lfanew = v_uint32()
class _unnamed_15795(vstruct.VStruct):
| 64 | 64 | 41 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_15795 | _unnamed_15795 | 6,920 | 6,923 | 6,920 | 6,920 | 7749e4cbf48e67f3e18d490e306c13c7e9a21819 | bigcode/the-stack | train |
023948c229384408df87457c | train | class | class KSYSTEM_TIME(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.LowPart = v_uint32()
self.High1Time = v_uint32()
self.High2Time = v_uint32()
| class KSYSTEM_TIME(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.LowPart = v_uint32()
self.High1Time = v_uint32()
self.High2Time = v_uint32()
| .ResourceToRelease = v_ptr32()
class _unnamed_16781(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SyncType = v_uint32()
self.PageProtection = v_uint32()
class KSYSTEM_TIME(vstruct.VStruct):
| 64 | 64 | 55 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | KSYSTEM_TIME | KSYSTEM_TIME | 2,403 | 2,408 | 2,403 | 2,403 | aefef612b5ac212a94c086f2fe8ba2f0a75aa14e | bigcode/the-stack | train |
c466a709e46c2b69b41156d9 | train | class | class ARBITER_CONFLICT_INFO(vstruct.VStruct):
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 ARBITER_CONFLICT_INFO(vstruct.VStruct):
| 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()
| Event = v_ptr32()
self.Callback = v_ptr32()
self.Context = v_ptr32()
self.VetoType = v_ptr32()
self.VetoName = v_ptr32()
self.Data = PLUGPLAY_EVENT_BLOCK()
class ARBITER_CONFLICT_INFO(vstruct.VStruct):
| 64 | 64 | 69 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | ARBITER_CONFLICT_INFO | ARBITER_CONFLICT_INFO | 3,325 | 3,331 | 3,325 | 3,325 | 40ac8e45337fe4b68556aa649e8fa9933b40772d | bigcode/the-stack | train |
f651b533e6b9fb368a9a7bcd | train | class | class HEAP_USERDATA_HEADER(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SFreeListEntry = SINGLE_LIST_ENTRY()
self.HeapHandle = v_ptr32()
self.SizeIndex = v_uint32()
self.Signature = v_uint32()
| class HEAP_USERDATA_HEADER(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.SFreeListEntry = SINGLE_LIST_ENTRY()
self.HeapHandle = v_ptr32()
self.SizeIndex = v_uint32()
self.Signature = v_uint32()
| .IrpDispatchTable = v_ptr32()
self.DeviceState = v_uint8()
self.TentativeNextState = v_uint8()
self._pad0010 = v_bytes(size=2)
self.SecondaryExtLock = KEVENT()
class HEAP_USERDATA_HEADER(vstruct.VStruct):
| 64 | 64 | 67 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | HEAP_USERDATA_HEADER | HEAP_USERDATA_HEADER | 4,733 | 4,739 | 4,733 | 4,733 | 294e292181f172211c85a19478f324affb12afb1 | bigcode/the-stack | train |
4edcae3b8fdab8d28f922a54 | train | class | class OBJECT_HEADER_CREATOR_INFO(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.TypeList = LIST_ENTRY()
self.CreatorUniqueProcess = v_ptr32()
self.CreatorBackTraceIndex = v_uint16()
self.Reserved = v_uint16()
| class OBJECT_HEADER_CREATOR_INFO(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.TypeList = LIST_ENTRY()
self.CreatorUniqueProcess = v_ptr32()
self.CreatorBackTraceIndex = v_uint16()
self.Reserved = v_uint16()
| self.NonPagedPoolCharge = v_uint32()
self.SecurityDescriptorCharge = v_uint32()
self.SecurityDescriptor = v_ptr32()
self.SecurityQos = v_ptr32()
self.SecurityQualityOfService = SECURITY_QUALITY_OF_SERVICE()
class OBJECT_HEADER_CREATOR_INFO(vstruct.VStruct):
| 64 | 64 | 66 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | OBJECT_HEADER_CREATOR_INFO | OBJECT_HEADER_CREATOR_INFO | 1,642 | 1,648 | 1,642 | 1,642 | 7d7df66fd11c6c8040ba5345b2cfcc577116c725 | bigcode/the-stack | train |
7acd100cdcb0fb70bda0eb75 | train | class | class FXSAVE_FORMAT(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ControlWord = v_uint16()
self.StatusWord = v_uint16()
self.TagWord = v_uint16()
self.ErrorOpcode = v_uint16()
self.ErrorOffset = v_uint32()
self.ErrorSelector = v_uin... | class FXSAVE_FORMAT(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ControlWord = v_uint16()
self.StatusWord = v_uint16()
self.TagWord = v_uint16()
self.ErrorOpcode = v_uint16()
self.ErrorOffset = v_uint32()
self.ErrorSelector = v_uint32()
self.DataOffset = v_uint... | self)
self.QuotaEntry = vstruct.VArray([ EPROCESS_QUOTA_ENTRY() for i in xrange(3) ])
self.QuotaList = LIST_ENTRY()
self.ReferenceCount = v_uint32()
self.ProcessCount = v_uint32()
class FXSAVE_FORMAT(vstruct.VStruct):
| 64 | 64 | 211 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | FXSAVE_FORMAT | FXSAVE_FORMAT | 4,984 | 5,000 | 4,984 | 4,984 | 3ca91202253816f6a9979632002f39c47c75e4ab | bigcode/the-stack | train |
61eb707e9f4916d5e33de650 | train | class | class DBGKD_WRITE_BREAKPOINT64(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.BreakPointAddress = v_uint64()
self.BreakPointHandle = v_uint32()
self._pad0010 = v_bytes(size=4)
| class DBGKD_WRITE_BREAKPOINT64(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.BreakPointAddress = v_uint64()
self.BreakPointHandle = v_uint32()
self._pad0010 = v_bytes(size=4)
| self.SsHandle = v_ptr32()
self.InLoadOrderModuleList = LIST_ENTRY()
self.InMemoryOrderModuleList = LIST_ENTRY()
self.InInitializationOrderModuleList = LIST_ENTRY()
self.EntryInProgress = v_ptr32()
class DBGKD_WRITE_BREAKPOINT64(vstruct.VStruct):
| 64 | 64 | 64 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DBGKD_WRITE_BREAKPOINT64 | DBGKD_WRITE_BREAKPOINT64 | 6,141 | 6,146 | 6,141 | 6,141 | 1c7a626a46d48bc996d2c6abc78a5f79de7f28b3 | bigcode/the-stack | train |
4da21c392fb899c89285c215 | train | class | class PAGEFAULT_HISTORY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.CurrentIndex = v_uint32()
self.MaxIndex = v_uint32()
self.SpinLock = v_uint32()
self.Reserved = v_ptr32()
self.WatchInfo = vstruct.VArray([ PROCESS_WS_WATCH_INFORMATION()... | class PAGEFAULT_HISTORY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.CurrentIndex = v_uint32()
self.MaxIndex = v_uint32()
self.SpinLock = v_uint32()
self.Reserved = v_ptr32()
self.WatchInfo = vstruct.VArray([ PROCESS_WS_WATCH_INFORMATION() for i in xrange(1) ])
| 0018 = v_bytes(size=3)
class DBGKM_EXCEPTION32(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ExceptionRecord = EXCEPTION_RECORD32()
self.FirstChance = v_uint32()
class PAGEFAULT_HISTORY(vstruct.VStruct):
| 64 | 64 | 88 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | PAGEFAULT_HISTORY | PAGEFAULT_HISTORY | 1,243 | 1,250 | 1,243 | 1,243 | 54ac8da57368acf5f20f992f0da0918ea32d786a | bigcode/the-stack | train |
406320b0dcdbc2bfc268d725 | train | class | class GENERAL_LOOKASIDE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ListHead = SLIST_HEADER()
self.Depth = v_uint16()
self.MaximumDepth = v_uint16()
self.TotalAllocates = v_uint32()
self.AllocateMisses = v_uint32()
self.TotalFrees... | class GENERAL_LOOKASIDE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ListHead = SLIST_HEADER()
self.Depth = v_uint16()
self.MaximumDepth = v_uint16()
self.TotalAllocates = v_uint32()
self.AllocateMisses = v_uint32()
self.TotalFrees = v_uint32()
self.FreeMisses = v_... | pcAssociated = v_uint8()
self.WakeTimer = v_uint8()
self._pad008c = v_bytes(size=2)
self.WakeTimerListEntry = LIST_ENTRY()
self._pad0098 = v_bytes(size=4)
class GENERAL_LOOKASIDE(vstruct.VStruct):
| 64 | 64 | 199 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | GENERAL_LOOKASIDE | GENERAL_LOOKASIDE | 4,800 | 4,819 | 4,800 | 4,800 | 4a0818ba81db15fd2b5cc685d1ba12f70d9bffde | bigcode/the-stack | train |
a3320eea1d35ee7215b5b7bd | train | class | class CM_PARTIAL_RESOURCE_LIST(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
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 CM_PARTIAL_RESOURCE_LIST(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
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) ])
| __(self)
self.Valid = v_uint32()
class _unnamed_12976(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.AsynchronousParameters = _unnamed_14745()
class CM_PARTIAL_RESOURCE_LIST(vstruct.VStruct):
| 64 | 64 | 78 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | CM_PARTIAL_RESOURCE_LIST | CM_PARTIAL_RESOURCE_LIST | 824 | 830 | 824 | 824 | 19ae0805ac2e06a84e3d7e60a61620d3bd233399 | bigcode/the-stack | train |
1f2e262d213cdf45725f86f2 | train | class | class OBJECT_TYPE_INITIALIZER(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint16()
self.UseDefaultObject = v_uint8()
self.CaseInsensitive = v_uint8()
self.InvalidAttributes = v_uint32()
self.GenericMapping = GENERIC_MAPPING()
... | class OBJECT_TYPE_INITIALIZER(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint16()
self.UseDefaultObject = v_uint8()
self.CaseInsensitive = v_uint8()
self.InvalidAttributes = v_uint32()
self.GenericMapping = GENERIC_MAPPING()
self.ValidAccessMask = v_uint32()
... | self.WorkerQueue = KQUEUE()
self.DynamicThreadCount = v_uint32()
self.WorkItemsProcessed = v_uint32()
self.WorkItemsProcessedLastPass = v_uint32()
self.QueueDepthLastPass = v_uint32()
self.Info = EX_QUEUE_WORKER_INFO()
class OBJECT_TYPE_INITIALIZER(vstruct.VStruct):
| 71 | 71 | 239 | 10 | 61 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | OBJECT_TYPE_INITIALIZER | OBJECT_TYPE_INITIALIZER | 1,451 | 1,474 | 1,451 | 1,451 | 4e8b5a1d3416f7ab2c4a31e9b4a60dbbe843d79f | bigcode/the-stack | train |
3e7e0e0d4e0cad4b48455686 | train | class | class _unnamed_16195(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Capabilities = v_ptr32()
| class _unnamed_16195(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Capabilities = v_ptr32()
| ()
self.ExtendedOffset = v_uint16()
class _unnamed_16198(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.IoResourceRequirementList = v_ptr32()
class _unnamed_16195(vstruct.VStruct):
| 64 | 64 | 38 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16195 | _unnamed_16195 | 5,627 | 5,630 | 5,627 | 5,627 | d93d59ee7e1d86600903f928190d2768fe54cd5f | bigcode/the-stack | train |
ea66a567c60de43ea1324d84 | train | class | class DEVICE_CAPABILITIES(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Size = v_uint16()
self.Version = v_uint16()
self.DeviceD1 = v_uint32()
self.Address = v_uint32()
self.UINumber = v_uint32()
self.DeviceState = vstruct.VArray([ ... | class DEVICE_CAPABILITIES(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Size = v_uint16()
self.Version = v_uint16()
self.DeviceD1 = v_uint32()
self.Address = v_uint32()
self.UINumber = v_uint32()
self.DeviceState = vstruct.VArray([ DEVICE_POWER_STATE() for i in xrange(7) ])
... | _PARTIAL_RESOURCE_DESCRIPTOR() for i in xrange(1) ])
class DBGKD_RESTORE_BREAKPOINT(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.BreakPointHandle = v_uint32()
class DEVICE_CAPABILITIES(vstruct.VStruct):
| 64 | 64 | 141 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DEVICE_CAPABILITIES | DEVICE_CAPABILITIES | 839 | 852 | 839 | 839 | 45cf2e90e2c20a5aa0e01446425a129765d9ab7b | bigcode/the-stack | train |
132a0f84f4246e74239901e4 | train | class | class _unnamed_13834(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Generic = _unnamed_14637()
| class _unnamed_13834(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Generic = _unnamed_14637()
| SEUDO_TAG_ENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Allocs = v_uint32()
self.Frees = v_uint32()
self.Size = v_uint32()
class _unnamed_13834(vstruct.VStruct):
| 64 | 64 | 40 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_13834 | _unnamed_13834 | 1,546 | 1,549 | 1,546 | 1,546 | 064e2965d88ed44fe099e995c08c6b2b43609d6f | bigcode/the-stack | train |
fc01796839d96d5b17902e36 | train | class | class _unnamed_16198(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.IoResourceRequirementList = v_ptr32()
| class _unnamed_16198(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.IoResourceRequirementList = v_ptr32()
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Offset = v_uint16()
self.Selector = v_uint16()
self.Access = v_uint16()
self.ExtendedOffset = v_uint16()
class _unnamed_16198(vstruct.VStruct):
| 64 | 64 | 41 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16198 | _unnamed_16198 | 5,621 | 5,624 | 5,621 | 5,621 | 2f31570471d778a853bd1cef38a9fe0f618af4dd | bigcode/the-stack | train |
1a84d6971921ce92e5420a5c | train | class | class HEAP_PSEUDO_TAG_ENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Allocs = v_uint32()
self.Frees = v_uint32()
self.Size = v_uint32()
| class HEAP_PSEUDO_TAG_ENTRY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Allocs = v_uint32()
self.Frees = v_uint32()
self.Size = v_uint32()
| (8) ])
self.LastAcquireTrace = vstruct.VArray([ v_ptr32() for i in xrange(8) ])
self.LastReleaseTrace = vstruct.VArray([ v_ptr32() for i in xrange(8) ])
class HEAP_PSEUDO_TAG_ENTRY(vstruct.VStruct):
| 63 | 64 | 56 | 13 | 50 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | HEAP_PSEUDO_TAG_ENTRY | HEAP_PSEUDO_TAG_ENTRY | 1,538 | 1,543 | 1,538 | 1,538 | f69043d9f723e4a76c8e1ea4256356bae6b81cad | bigcode/the-stack | train |
8130aeafb005febc6b2e8b15 | train | class | class KSPIN_LOCK_QUEUE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Next = v_ptr32()
self.Lock = v_ptr32()
| class KSPIN_LOCK_QUEUE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Next = v_ptr32()
self.Lock = v_ptr32()
| = v_uint32()
class HMAP_TABLE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Table = vstruct.VArray([ HMAP_ENTRY() for i in xrange(512) ])
class KSPIN_LOCK_QUEUE(vstruct.VStruct):
| 63 | 64 | 44 | 11 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | KSPIN_LOCK_QUEUE | KSPIN_LOCK_QUEUE | 4,122 | 4,126 | 4,122 | 4,122 | 69c9be31cf0b501313709c6d64e8e708e36fbb00 | bigcode/the-stack | train |
4f3c1c334f5003bc478947c9 | train | class | class POWER_CHANNEL_SUMMARY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Signature = v_uint32()
self.TotalCount = v_uint32()
self.D0Count = v_uint32()
self.NotifyList = LIST_ENTRY()
| class POWER_CHANNEL_SUMMARY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Signature = v_uint32()
self.TotalCount = v_uint32()
self.D0Count = v_uint32()
self.NotifyList = LIST_ENTRY()
| self.Reserved = vstruct.VArray([ v_uint32() for i in xrange(3) ])
self.AlternativeLists = v_uint32()
self.List = vstruct.VArray([ IO_RESOURCE_LIST() for i in xrange(1) ])
class POWER_CHANNEL_SUMMARY(vstruct.VStruct):
| 63 | 64 | 63 | 10 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | POWER_CHANNEL_SUMMARY | POWER_CHANNEL_SUMMARY | 7,409 | 7,415 | 7,409 | 7,409 | 1125dcfb711a74beea35517492bb84619f286792 | bigcode/the-stack | train |
fe59f9c80b5ee2d60a801d51 | train | class | class Wx86ThreadState(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.CallBx86Eip = v_ptr32()
self.DeallocationCpu = v_ptr32()
self.UseKnownWx86Dll = v_uint8()
self.OleStubInvoked = v_uint8()
self._pad000c = v_bytes(size=2)
| class Wx86ThreadState(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.CallBx86Eip = v_ptr32()
self.DeallocationCpu = v_ptr32()
self.UseKnownWx86Dll = v_uint8()
self.OleStubInvoked = v_uint8()
self._pad000c = v_bytes(size=2)
| __(self)
self.Type = v_uint16()
self.TimerFlag = v_uint16()
self.TimerList = LIST_ENTRY()
self.TimerRoutine = v_ptr32()
self.Context = v_ptr32()
self.DeviceObject = v_ptr32()
class Wx86ThreadState(vstruct.VStruct):
| 64 | 64 | 86 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | Wx86ThreadState | Wx86ThreadState | 1,371 | 1,378 | 1,371 | 1,371 | cc2a8310b003e4f3b4f7fab9218f390d0713337e | bigcode/the-stack | train |
c3aaab3d4ac3dd2cd0797ae9 | train | class | class FILE_BASIC_INFORMATION(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.CreationTime = LARGE_INTEGER()
self.LastAccessTime = LARGE_INTEGER()
self.LastWriteTime = LARGE_INTEGER()
self.ChangeTime = LARGE_INTEGER()
self.FileAttributes = v_u... | class FILE_BASIC_INFORMATION(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.CreationTime = LARGE_INTEGER()
self.LastAccessTime = LARGE_INTEGER()
self.LastWriteTime = LARGE_INTEGER()
self.ChangeTime = LARGE_INTEGER()
self.FileAttributes = v_uint32()
self._pad0028 = v_bytes(size=4)... | self.Lock = _unnamed_12162()
class EXCEPTION_REGISTRATION_RECORD(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Next = v_ptr32()
self.Handler = v_ptr32()
class FILE_BASIC_INFORMATION(vstruct.VStruct):
| 64 | 64 | 84 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | FILE_BASIC_INFORMATION | FILE_BASIC_INFORMATION | 5,439 | 5,447 | 5,439 | 5,439 | 097abf32ac91bdc8860980a81f08a70376b8f234 | bigcode/the-stack | train |
c934eb91e08aa30eeb24c729 | train | class | class RTL_RANGE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Start = v_uint64()
self.End = v_uint64()
self.UserData = v_ptr32()
self.Owner = v_ptr32()
self.Attributes = v_uint8()
self.Flags = v_uint8()
self._pad0020 = v_byt... | class RTL_RANGE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Start = v_uint64()
self.End = v_uint64()
self.UserData = v_ptr32()
self.Owner = v_ptr32()
self.Attributes = v_uint8()
self.Flags = v_uint8()
self._pad0020 = v_bytes(size=6)
| __(self)
self.Count = v_uint32()
self.List = v_uint32()
class _unnamed_16094(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
class RTL_RANGE(vstruct.VStruct):
| 64 | 64 | 87 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | RTL_RANGE | RTL_RANGE | 6,588 | 6,597 | 6,588 | 6,588 | 1e504f44f720b238e277aef868d31e70ac6ce58b | bigcode/the-stack | train |
702ae6ccdf3ab727bb7a0edd | train | class | class SUBSECTION(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ControlArea = v_ptr32()
self.u = _unnamed_12531()
self.StartingSector = v_uint32()
self.NumberOfFullSectors = v_uint32()
self.SubsectionBase = v_ptr32()
self.UnusedPtes ... | class SUBSECTION(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ControlArea = v_ptr32()
self.u = _unnamed_12531()
self.StartingSector = v_uint32()
self.NumberOfFullSectors = v_uint32()
self.SubsectionBase = v_ptr32()
self.UnusedPtes = v_uint32()
self.PtesInSub... | self)
self.Length = v_uint32()
self.RootDirectory = v_ptr32()
self.ObjectName = v_ptr32()
self.Attributes = v_uint32()
self.SecurityDescriptor = v_ptr32()
self.SecurityQualityOfService = v_ptr32()
class SUBSECTION(vstruct.VStruct):
| 64 | 64 | 110 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | SUBSECTION | SUBSECTION | 4,255 | 4,265 | 4,255 | 4,255 | f021c8e6511826f0d9f626513f62d4c3a63e4966 | bigcode/the-stack | train |
f053104836db7679fe91d899 | train | class | class _unnamed_16255(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()
| class _unnamed_16255(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()
| = v_ptr32()
class _unnamed_16663(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Signature = v_uint32()
self.CheckSum = v_uint32()
class _unnamed_16255(vstruct.VStruct):
| 64 | 64 | 65 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16255 | _unnamed_16255 | 6,949 | 6,955 | 6,949 | 6,949 | 83de99b210e3c27d2e6cfe82d9ea177d15121871 | bigcode/the-stack | train |
6203924ff552e37a5a315b6f | train | class | class POP_DEVICE_POWER_IRP(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Free = SINGLE_LIST_ENTRY()
self.Irp = v_ptr32()
self.Notify = v_ptr32()
self.Pending = LIST_ENTRY()
self.Complete = LIST_ENTRY()
self.Abort = LIST_ENTRY()
... | class POP_DEVICE_POWER_IRP(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Free = SINGLE_LIST_ENTRY()
self.Irp = v_ptr32()
self.Notify = v_ptr32()
self.Pending = LIST_ENTRY()
self.Complete = LIST_ENTRY()
self.Abort = LIST_ENTRY()
self.Failed = LIST_ENTRY()
| self.NumberOfUnCommittedRanges = v_uint32()
self.UnCommittedRanges = v_ptr32()
self.AllocatorBackTraceIndex = v_uint16()
self.Reserved = v_uint16()
self.LastEntryInSegment = v_ptr32()
class POP_DEVICE_POWER_IRP(vstruct.VStruct):
| 64 | 64 | 84 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | POP_DEVICE_POWER_IRP | POP_DEVICE_POWER_IRP | 6,676 | 6,685 | 6,676 | 6,676 | c9e1567bad12e04885ff5d8736f891f5380b5fc3 | bigcode/the-stack | train |
bc5d3254a2f59424b397241b | train | class | class POP_THERMAL_ZONE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Link = LIST_ENTRY()
self.State = v_uint8()
self.Flags = v_uint8()
self.Mode = v_uint8()
self.PendingMode = v_uint8()
self.ActivePoint = v_uint8()
self.Pend... | class POP_THERMAL_ZONE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Link = LIST_ENTRY()
self.State = v_uint8()
self.Flags = v_uint8()
self.Mode = v_uint8()
self.PendingMode = v_uint8()
self.ActivePoint = v_uint8()
self.PendingActivePoint = v_uint8()
self._... | 4) ])
class DBGKD_SET_INTERNAL_BREAKPOINT32(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.BreakpointAddress = v_uint32()
self.Flags = v_uint32()
class POP_THERMAL_ZONE(vstruct.VStruct):
| 64 | 64 | 212 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | POP_THERMAL_ZONE | POP_THERMAL_ZONE | 5,255 | 5,276 | 5,255 | 5,255 | 63753a4ca83b9dc1349759fca9edd03c3fd23b25 | bigcode/the-stack | train |
8b4934781d25fc27e1f549db | train | class | class BUS_HANDLER(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Version = v_uint32()
self.InterfaceType = v_uint32()
self.ConfigurationType = v_uint32()
self.BusNumber = v_uint32()
self.DeviceObject = v_ptr32()
self.ParentHandler = ... | class BUS_HANDLER(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Version = v_uint32()
self.InterfaceType = v_uint32()
self.ConfigurationType = v_uint32()
self.BusNumber = v_uint32()
self.DeviceObject = v_ptr32()
self.ParentHandler = v_ptr32()
self.BusData = v_p... | 128) ])
self.Reserved3 = vstruct.VArray([ v_uint8() for i in xrange(128) ])
self.Reserved4 = vstruct.VArray([ v_uint8() for i in xrange(224) ])
self.Align16Byte = vstruct.VArray([ v_uint8() for i in xrange(8) ])
class BUS_HANDLER(vstruct.VStruct):
| 80 | 81 | 270 | 8 | 72 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | BUS_HANDLER | BUS_HANDLER | 5,003 | 5,029 | 5,003 | 5,003 | 51091e5b6431ebdfa6fccac20cd1845eb7949ca8 | bigcode/the-stack | train |
fae85fcc16c807d9409c7163 | train | class | class _unnamed_10880(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.FnArea = FNSAVE_FORMAT()
self._pad0208 = v_bytes(size=412)
| class _unnamed_10880(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.FnArea = FNSAVE_FORMAT()
self._pad0208 = v_bytes(size=412)
| = v_uint16()
class _unnamed_10498(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.LowPart = v_uint32()
self.HighPart = v_uint32()
class _unnamed_10880(vstruct.VStruct):
| 64 | 64 | 53 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_10880 | _unnamed_10880 | 6,753 | 6,757 | 6,753 | 6,753 | bc74f71068698512922f55a907e063895b5d7bf7 | bigcode/the-stack | train |
8a903f61ac516517e68b7de1 | train | class | class KEVENT(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Header = DISPATCHER_HEADER()
| class KEVENT(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Header = DISPATCHER_HEADER()
| .DpcListEntry = LIST_ENTRY()
self.DeferredRoutine = v_ptr32()
self.DeferredContext = v_ptr32()
self.SystemArgument1 = v_ptr32()
self.SystemArgument2 = v_ptr32()
self.Lock = v_ptr32()
class KEVENT(vstruct.VStruct):
| 64 | 64 | 34 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | KEVENT | KEVENT | 5,191 | 5,194 | 5,191 | 5,191 | f80d7c40114dfd3644f0901e582765de5556c5e2 | bigcode/the-stack | train |
2463f0492674bf5a726a20ab | train | class | class _unnamed_16128(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SecurityInformation = v_uint32()
self.SecurityDescriptor = v_ptr32()
| class _unnamed_16128(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.SecurityInformation = v_uint32()
self.SecurityDescriptor = v_ptr32()
| Block = v_ptr32()
self.DmaIO = v_ptr32()
self.TemporaryHeap = v_ptr32()
self._pad0098 = v_bytes(size=4)
self.PerfInfo = PO_HIBER_PERF()
class _unnamed_16128(vstruct.VStruct):
| 64 | 64 | 47 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16128 | _unnamed_16128 | 4,658 | 4,662 | 4,658 | 4,658 | ecaf65bf3ce1108bc7636907479709d84e3a25d9 | bigcode/the-stack | train |
13984edc0a53b2a3d500fa20 | train | class | class DBGKD_GET_INTERNAL_BREAKPOINT32(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.BreakpointAddress = v_uint32()
self.Flags = v_uint32()
self.Calls = v_uint32()
self.MaxCallsPerPeriod = v_uint32()
self.MinInstructions = v_uint32()
... | class DBGKD_GET_INTERNAL_BREAKPOINT32(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.BreakpointAddress = v_uint32()
self.Flags = v_uint32()
self.Calls = v_uint32()
self.MaxCallsPerPeriod = v_uint32()
self.MinInstructions = v_uint32()
self.MaxInstructions = v_uint32()
self.TotalIns... | i in xrange(32) ])
class CURDIR(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.DosPath = UNICODE_STRING()
self.Handle = v_ptr32()
class DBGKD_GET_INTERNAL_BREAKPOINT32(vstruct.VStruct):
| 64 | 64 | 96 | 13 | 51 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DBGKD_GET_INTERNAL_BREAKPOINT32 | DBGKD_GET_INTERNAL_BREAKPOINT32 | 703 | 712 | 703 | 703 | b5526c33eebb71837d54a8b8a468b7e2ae6264e0 | bigcode/the-stack | train |
2dfbf6649bfb3ddb67074944 | train | class | class SECURITY_SUBJECT_CONTEXT(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ClientToken = v_ptr32()
self.ImpersonationLevel = v_uint32()
self.PrimaryToken = v_ptr32()
self.ProcessAuditId = v_ptr32()
| class SECURITY_SUBJECT_CONTEXT(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ClientToken = v_ptr32()
self.ImpersonationLevel = v_uint32()
self.PrimaryToken = v_ptr32()
self.ProcessAuditId = v_ptr32()
| egmentIndex = v_uint8()
class _unnamed_16304(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.MinimumVector = v_uint32()
self.MaximumVector = v_uint32()
class SECURITY_SUBJECT_CONTEXT(vstruct.VStruct):
| 64 | 64 | 66 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | SECURITY_SUBJECT_CONTEXT | SECURITY_SUBJECT_CONTEXT | 6,175 | 6,181 | 6,175 | 6,175 | 123007889898d77d9590a4049fdf4f6f72ed62d4 | bigcode/the-stack | train |
893c2e19757467411d074e85 | train | class | class _unnamed_16304(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.MinimumVector = v_uint32()
self.MaximumVector = v_uint32()
| class _unnamed_16304(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.MinimumVector = v_uint32()
self.MaximumVector = v_uint32()
| v_uint16()
self.PreviousSize = v_uint16()
self.SmallTagIndex = v_uint8()
self.Flags = v_uint8()
self.UnusedBytes = v_uint8()
self.SegmentIndex = v_uint8()
class _unnamed_16304(vstruct.VStruct):
| 64 | 64 | 47 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16304 | _unnamed_16304 | 6,168 | 6,172 | 6,168 | 6,168 | d4f5af62c96867d9da2c7853f1eca2ccfe0edd08 | bigcode/the-stack | train |
15dfecbba075718328af54f7 | train | class | class CLIENT_ID(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.UniqueProcess = v_ptr32()
self.UniqueThread = v_ptr32()
| class CLIENT_ID(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.UniqueProcess = v_ptr32()
self.UniqueThread = v_ptr32()
| .VStruct.__init__(self)
self.Acquired = v_uint8()
self.CacheLineSize = v_uint8()
self.LatencyTimer = v_uint8()
self.EnablePERR = v_uint8()
self.EnableSERR = v_uint8()
class CLIENT_ID(vstruct.VStruct):
| 64 | 64 | 43 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | CLIENT_ID | CLIENT_ID | 5,498 | 5,502 | 5,498 | 5,498 | 9f7139a1bc7b9dd57e2879cb816bf094508b387d | bigcode/the-stack | train |
990754384dab2f5b1379c365 | train | class | class MMSESSION(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SystemSpaceViewLock = FAST_MUTEX()
self.SystemSpaceViewLockPointer = v_ptr32()
self.SystemSpaceViewStart = v_ptr32()
self.SystemSpaceViewTable = v_ptr32()
self.SystemSpaceHashSiz... | class MMSESSION(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.SystemSpaceViewLock = FAST_MUTEX()
self.SystemSpaceViewLockPointer = v_ptr32()
self.SystemSpaceViewStart = v_ptr32()
self.SystemSpaceViewTable = v_ptr32()
self.SystemSpaceHashSize = v_uint32()
self.System... | self.Length = v_uint16()
self.MaximumLength = v_uint16()
self.Buffer = v_ptr32()
class CELL_DATA(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.u = u()
class MMSESSION(vstruct.VStruct):
| 64 | 64 | 113 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | MMSESSION | MMSESSION | 4,934 | 4,944 | 4,934 | 4,934 | 5ba3f57d8016e8d73ce9ba2f1cf6eac600a72e41 | bigcode/the-stack | train |
9c03ed797c988cbab4f91aac | train | class | class KPROCESSOR_STATE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ContextFrame = CONTEXT()
self.SpecialRegisters = KSPECIAL_REGISTERS()
| class KPROCESSOR_STATE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ContextFrame = CONTEXT()
self.SpecialRegisters = KSPECIAL_REGISTERS()
| self._pad0020 = v_bytes(size=4)
class IO_STATUS_BLOCK(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Status = v_uint32()
self.Information = v_uint32()
class KPROCESSOR_STATE(vstruct.VStruct):
| 64 | 64 | 46 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | KPROCESSOR_STATE | KPROCESSOR_STATE | 3,118 | 3,122 | 3,118 | 3,118 | e9664ac300d0e2e65ea5d9b050c9f7f9ba010cb0 | bigcode/the-stack | train |
88317b7cfe38c0a7f994ce4f | train | class | class FNSAVE_FORMAT(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ControlWord = v_uint32()
self.StatusWord = v_uint32()
self.TagWord = v_uint32()
self.ErrorOffset = v_uint32()
self.ErrorSelector = v_uint32()
self.DataOffset = v_uint... | class FNSAVE_FORMAT(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ControlWord = v_uint32()
self.StatusWord = v_uint32()
self.TagWord = v_uint32()
self.ErrorOffset = v_uint32()
self.ErrorSelector = v_uint32()
self.DataOffset = v_uint32()
self.DataSelector = v_uin... | self.MaximumLength = v_uint16()
self.Buffer = v_ptr32()
class _unnamed_16205(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Lock = v_uint8()
class FNSAVE_FORMAT(vstruct.VStruct):
| 64 | 64 | 112 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | FNSAVE_FORMAT | FNSAVE_FORMAT | 3,896 | 3,906 | 3,896 | 3,896 | 5b95e2f680b9d892fe4df6674b0bd3ead1652d9f | bigcode/the-stack | train |
636081e0b87ade329d88ca1c | train | class | class DBGKD_SEARCH_MEMORY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SearchAddress = v_uint64()
self.SearchLength = v_uint64()
self.PatternLength = v_uint32()
self._pad0018 = v_bytes(size=4)
| class DBGKD_SEARCH_MEMORY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.SearchAddress = v_uint64()
self.SearchLength = v_uint64()
self.PatternLength = v_uint32()
self._pad0018 = v_bytes(size=4)
| self.DirectlyAccessClientToken = v_uint8()
self.DirectAccessEffectiveOnly = v_uint8()
self.ServerIsRemote = v_uint8()
self._pad0014 = v_bytes(size=1)
self.ClientTokenControl = TOKEN_CONTROL()
class DBGKD_SEARCH_MEMORY(vstruct.VStruct):
| 64 | 64 | 67 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DBGKD_SEARCH_MEMORY | DBGKD_SEARCH_MEMORY | 3,527 | 3,533 | 3,527 | 3,527 | 3a593df8551eca67e191d7cda180c1bf051baac4 | bigcode/the-stack | train |
61d6b1d710619d0bce028dbb | train | class | class OBJECT_ATTRIBUTES(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
self.RootDirectory = v_ptr32()
self.ObjectName = v_ptr32()
self.Attributes = v_uint32()
self.SecurityDescriptor = v_ptr32()
self.SecurityQuali... | class OBJECT_ATTRIBUTES(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
self.RootDirectory = v_ptr32()
self.ObjectName = v_ptr32()
self.Attributes = v_uint32()
self.SecurityDescriptor = v_ptr32()
self.SecurityQualityOfService = v_ptr32()
| Sizes = v_uint32()
self.DataDirectory = vstruct.VArray([ IMAGE_DATA_DIRECTORY() for i in xrange(16) ])
class SCSI_REQUEST_BLOCK(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
class OBJECT_ATTRIBUTES(vstruct.VStruct):
| 64 | 64 | 79 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | OBJECT_ATTRIBUTES | OBJECT_ATTRIBUTES | 4,244 | 4,252 | 4,244 | 4,244 | 34e7e1751844ed8f0f3f2dc2c9e97e4682df5ee3 | bigcode/the-stack | train |
ee3c01c7736c992595d56c37 | train | class | class RTLP_RANGE_LIST_ENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Start = v_uint64()
self.End = v_uint64()
self.Allocated = _unnamed_14486()
self.Attributes = v_uint8()
self.PublicFlags = v_uint8()
self.PrivateFlags = v_uint... | class RTLP_RANGE_LIST_ENTRY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Start = v_uint64()
self.End = v_uint64()
self.Allocated = _unnamed_14486()
self.Attributes = v_uint8()
self.PublicFlags = v_uint8()
self.PrivateFlags = v_uint16()
self.ListEntry = LIST_ENTRY()
... | def __init__(self):
vstruct.VStruct.__init__(self)
self.Type = v_uint8()
self.ShareDisposition = v_uint8()
self.Flags = v_uint16()
self.u = _unnamed_13834()
class RTLP_RANGE_LIST_ENTRY(vstruct.VStruct):
| 64 | 64 | 103 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | RTLP_RANGE_LIST_ENTRY | RTLP_RANGE_LIST_ENTRY | 2,059 | 2,069 | 2,059 | 2,059 | 518ab03eef8586b0bdc07a37f610554399f66898 | bigcode/the-stack | train |
28fc2f26cabadca6e9764152 | train | class | class HEAP_FREE_ENTRY_EXTRA(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.TagIndex = v_uint16()
self.FreeBackTraceIndex = v_uint16()
| class HEAP_FREE_ENTRY_EXTRA(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.TagIndex = v_uint16()
self.FreeBackTraceIndex = v_uint16()
| = SINGLE_LIST_ENTRY()
self.Irp = v_ptr32()
self.Notify = v_ptr32()
self.Pending = LIST_ENTRY()
self.Complete = LIST_ENTRY()
self.Abort = LIST_ENTRY()
self.Failed = LIST_ENTRY()
class HEAP_FREE_ENTRY_EXTRA(vstruct.VStruct):
| 64 | 64 | 48 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | HEAP_FREE_ENTRY_EXTRA | HEAP_FREE_ENTRY_EXTRA | 6,688 | 6,692 | 6,688 | 6,688 | ff474f4626f19e1c7060dc4bdd1c3801dbd38d0a | bigcode/the-stack | train |
af501e2edf6bf1ae224fceb7 | train | class | class KSEMAPHORE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Header = DISPATCHER_HEADER()
self.Limit = v_uint32()
| class KSEMAPHORE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Header = DISPATCHER_HEADER()
self.Limit = v_uint32()
| ()
self.SystemArgument2 = v_ptr32()
self.Lock = v_ptr32()
class KEVENT(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Header = DISPATCHER_HEADER()
class KSEMAPHORE(vstruct.VStruct):
| 64 | 64 | 46 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | KSEMAPHORE | KSEMAPHORE | 5,197 | 5,201 | 5,197 | 5,197 | 6d51ea43a4636d4ae94cd118c2188d2189df43cf | bigcode/the-stack | train |
f7b78d88206513282786d937 | train | class | class IRP(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Type = v_uint16()
self.Size = v_uint16()
self.MdlAddress = v_ptr32()
self.Flags = v_uint32()
self.AssociatedIrp = _unnamed_12973()
self.ThreadListEntry = LIST_ENTRY()
s... | class IRP(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Type = v_uint16()
self.Size = v_uint16()
self.MdlAddress = v_ptr32()
self.Flags = v_uint32()
self.AssociatedIrp = _unnamed_12973()
self.ThreadListEntry = LIST_ENTRY()
self.IoStatus = IO_STATUS_BLO... | ownTimeout = v_uint32()
self.OptimizeForPower = v_uint8()
self.FanThrottleTolerance = v_uint8()
self.ForcedThrottle = v_uint8()
self.MinThrottle = v_uint8()
self.OverThrottled = POWER_ACTION_POLICY()
class IRP(vstruct.VStruct):
| 68 | 68 | 228 | 8 | 60 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | IRP | IRP | 5,689 | 5,712 | 5,689 | 5,689 | a2b82dd1c797adbdb3498b560e68f234154039ac | bigcode/the-stack | train |
d95b9c57b8e9073942a440f7 | train | class | 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 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()
| WriteTime = LARGE_INTEGER()
self.ChangeTime = LARGE_INTEGER()
self.AllocationSize = LARGE_INTEGER()
self.EndOfFile = LARGE_INTEGER()
self.FileAttributes = v_uint32()
self._pad0038 = v_bytes(size=4)
class PCI_SECONDARY_EXTENSION(vstruct.VStruct):
| 64 | 64 | 53 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | PCI_SECONDARY_EXTENSION | PCI_SECONDARY_EXTENSION | 3,970 | 3,975 | 3,970 | 3,970 | 8aececda97ec421e1f172dcdad3bf905663f6059 | bigcode/the-stack | train |
c8a739682eb1cce72a73f441 | train | class | class _unnamed_14410(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Spare = vstruct.VArray([ v_uint8() for i in xrange(4) ])
| class _unnamed_14410(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Spare = vstruct.VArray([ v_uint8() for i in xrange(4) ])
| self.Flink = v_uint32()
self.Blink = v_uint32()
class SINGLE_LIST_ENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Next = v_ptr32()
class _unnamed_14410(vstruct.VStruct):
| 64 | 64 | 51 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_14410 | _unnamed_14410 | 7,260 | 7,263 | 7,260 | 7,260 | e07fbac6303a7628c3fc40a24d4f802e44926bf2 | bigcode/the-stack | train |
2cc768d91aa9001bc4c0a0b3 | train | class | class X86_DBGKD_CONTROL_SET(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.TraceFlag = v_uint32()
self.Dr7 = v_uint32()
self.CurrentSymbolStart = v_uint32()
self.CurrentSymbolEnd = v_uint32()
| class X86_DBGKD_CONTROL_SET(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.TraceFlag = v_uint32()
self.Dr7 = v_uint32()
self.CurrentSymbolStart = v_uint32()
self.CurrentSymbolEnd = v_uint32()
| __(self):
vstruct.VStruct.__init__(self)
self.ClientToken = v_ptr32()
self.ImpersonationLevel = v_uint32()
self.PrimaryToken = v_ptr32()
self.ProcessAuditId = v_ptr32()
class X86_DBGKD_CONTROL_SET(vstruct.VStruct):
| 64 | 64 | 68 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | X86_DBGKD_CONTROL_SET | X86_DBGKD_CONTROL_SET | 6,184 | 6,190 | 6,184 | 6,184 | df9880ee49727594f5831463fbf8d37c2043ef7b | bigcode/the-stack | train |
d49dd4f4120ca40f56071ca4 | train | class | class ACL(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.AclRevision = v_uint8()
self.Sbz1 = v_uint8()
self.AclSize = v_uint16()
self.AceCount = v_uint16()
self.Sbz2 = v_uint16()
| class ACL(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.AclRevision = v_uint8()
self.Sbz1 = v_uint8()
self.AclSize = v_uint16()
self.AceCount = v_uint16()
self.Sbz2 = v_uint16()
| 32()
self.PointerToRelocations = v_uint32()
self.PointerToLinenumbers = v_uint32()
self.NumberOfRelocations = v_uint16()
self.NumberOfLinenumbers = v_uint16()
self.Characteristics = v_uint32()
class ACL(vstruct.VStruct):
| 64 | 64 | 74 | 7 | 57 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | ACL | ACL | 6,736 | 6,743 | 6,736 | 6,736 | bdf52b70fba9e7463d3e601188e3a92b42f7af64 | bigcode/the-stack | train |
7d4090f56cef39e44c805dae | train | class | class SECTION_OBJECT(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
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 SECTION_OBJECT(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.StartingVa = v_ptr32()
self.EndingVa = v_ptr32()
self.Parent = v_ptr32()
self.LeftChild = v_ptr32()
self.RightChild = v_ptr32()
self.Segment = v_ptr32()
| self):
vstruct.VStruct.__init__(self)
self.Code = v_uint32()
self.Parameter1 = v_uint32()
self.Parameter2 = v_uint32()
self.Parameter3 = v_uint32()
self.Parameter4 = v_uint32()
class SECTION_OBJECT(vstruct.VStruct):
| 64 | 64 | 80 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | SECTION_OBJECT | SECTION_OBJECT | 3,678 | 3,686 | 3,678 | 3,678 | 4e70d773ebb86d5bc23a88b67b85f53e721166db | bigcode/the-stack | train |
79811a5cf212dac5f2f82cac | train | class | class CM_KEY_SECURITY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Signature = v_uint16()
self.Reserved = v_uint16()
self.Flink = v_uint32()
self.Blink = v_uint32()
self.ReferenceCount = v_uint32()
self.DescriptorLength = v_uint32(... | class CM_KEY_SECURITY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Signature = v_uint16()
self.Reserved = v_uint16()
self.Flink = v_uint32()
self.Blink = v_uint32()
self.ReferenceCount = v_uint32()
self.DescriptorLength = v_uint32()
self.Descriptor = SECURITY_DES... | ()
self.u = _unnamed_15795()
class LIST_ENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Flink = v_ptr32()
self.Blink = v_ptr32()
class CM_KEY_SECURITY(vstruct.VStruct):
| 64 | 64 | 91 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | CM_KEY_SECURITY | CM_KEY_SECURITY | 5,469 | 5,478 | 5,469 | 5,469 | 28e031dc0424164a61e1d133974f829774dc414f | bigcode/the-stack | train |
b4a716ba66317d7d91300eab | train | class | class _unnamed_16023(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
self.Key = v_uint32()
self.ByteOffset = LARGE_INTEGER()
| class _unnamed_16023(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
self.Key = v_uint32()
self.ByteOffset = LARGE_INTEGER()
| _uint32()
self.MemoryLimitsLock = FAST_MUTEX()
self.JobSetLinks = LIST_ENTRY()
self.MemberLevel = v_uint32()
self.JobFlags = v_uint32()
self._pad0180 = v_bytes(size=4)
class _unnamed_16023(vstruct.VStruct):
| 64 | 64 | 53 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16023 | _unnamed_16023 | 3,091 | 3,096 | 3,091 | 3,091 | d91ad45396d36602d6ca9fff55dd4e0d1bd0eb30 | bigcode/the-stack | train |
733fb3df38602a77c9ad7f9c | train | class | class PCI_SLOT_NUMBER(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.u = _unnamed_14357()
| class PCI_SLOT_NUMBER(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.u = _unnamed_14357()
| struct.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_SLOT_NUMBER(vstruct.VStruct):
| 64 | 64 | 37 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | PCI_SLOT_NUMBER | PCI_SLOT_NUMBER | 3,987 | 3,990 | 3,987 | 3,987 | 42d7fa9b4b5d08d88697ac67efb93dec2c6ea84e | bigcode/the-stack | train |
71c261770423d853f8118f8b | train | class | class KAPC(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Type = v_uint16()
self.Size = v_uint16()
self.Spare0 = v_uint32()
self.Thread = v_ptr32()
self.ApcListEntry = LIST_ENTRY()
self.KernelRoutine = v_ptr32()
self.RundownR... | class KAPC(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Type = v_uint16()
self.Size = v_uint16()
self.Spare0 = v_uint32()
self.Thread = v_ptr32()
self.ApcListEntry = LIST_ENTRY()
self.KernelRoutine = v_ptr32()
self.RundownRoutine = v_ptr32()
se... | struct.VStruct.__init__(self)
self.DirectionMap = vstruct.VArray([ v_uint8() for i in xrange(32) ])
self.IoMap = vstruct.VArray([ v_uint8() for i in xrange(8196) ])
class KAPC(vstruct.VStruct):
| 63 | 64 | 172 | 9 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | KAPC | KAPC | 3,132 | 3,149 | 3,132 | 3,132 | 6ce77b4dfba6419858a6be900045f8531d54b9ac | bigcode/the-stack | train |
df38d1bb12a1bbc763a2633f | train | class | class SYSTEM_POWER_CAPABILITIES(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.PowerButtonPresent = v_uint8()
self.SleepButtonPresent = v_uint8()
self.LidPresent = v_uint8()
self.SystemS1 = v_uint8()
self.SystemS2 = v_uint8()
self.Sy... | class SYSTEM_POWER_CAPABILITIES(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.PowerButtonPresent = v_uint8()
self.SleepButtonPresent = v_uint8()
self.LidPresent = v_uint8()
self.SystemS1 = v_uint8()
self.SystemS2 = v_uint8()
self.SystemS3 = v_uint8()
self.SystemS4 = v_uint8... | ._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):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
s... | 108 | 108 | 363 | 11 | 97 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | SYSTEM_POWER_CAPABILITIES | SYSTEM_POWER_CAPABILITIES | 7,304 | 7,334 | 7,304 | 7,304 | 7c25a044080c10045a564b9ee67a2d8a5a78cec5 | bigcode/the-stack | train |
d0cf16f99aa48be7d8be48da | train | class | class PROCESSOR_IDLE_TIMES(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.StartTime = v_uint64()
self.EndTime = v_uint64()
self.IdleHandlerReserved = vstruct.VArray([ v_uint32() for i in xrange(4) ])
| class PROCESSOR_IDLE_TIMES(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.StartTime = v_uint64()
self.EndTime = v_uint64()
self.IdleHandlerReserved = vstruct.VArray([ v_uint32() for i in xrange(4) ])
| struct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Status = v_uint32()
self.EventQueueMutex = KMUTANT()
self.Lock = FAST_MUTEX()
self.List = LIST_ENTRY()
class PROCESSOR_IDLE_TIMES(vstruct.VStruct):
| 64 | 64 | 70 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | PROCESSOR_IDLE_TIMES | PROCESSOR_IDLE_TIMES | 4,584 | 4,589 | 4,584 | 4,584 | 20fb8ea6c978cbeb439a47c34db0643bbcc898ac | bigcode/the-stack | train |
e38906c14c91ffb50d0dbbaf | train | class | class _unnamed_13092(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Bytes = _unnamed_14544()
| class _unnamed_13092(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Bytes = _unnamed_14544()
| init__(self)
self.EntireFrame = v_uint32()
class DBGKD_SET_SPECIAL_CALL64(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SpecialCall = v_uint64()
class _unnamed_13092(vstruct.VStruct):
| 64 | 64 | 40 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_13092 | _unnamed_13092 | 650 | 653 | 650 | 650 | 5def12a28458e782fccc6eb8691c82fec6d2d169 | bigcode/the-stack | train |
7bc8f85cb22a4406243535c8 | train | class | class PCI_HEADER_TYPE_2(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SocketRegistersBaseAddress = v_uint32()
self.CapabilitiesPtr = v_uint8()
self.Reserved = v_uint8()
self.SecondaryStatus = v_uint16()
self.PrimaryBus = v_uint8()
s... | class PCI_HEADER_TYPE_2(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.SocketRegistersBaseAddress = v_uint32()
self.CapabilitiesPtr = v_uint8()
self.Reserved = v_uint8()
self.SecondaryStatus = v_uint16()
self.PrimaryBus = v_uint8()
self.SecondaryBus = v_uint8()
self.... | self.Body = QUAD()
class PCI_MN_DISPATCH_TABLE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.DispatchStyle = v_uint32()
self.DispatchFunction = v_ptr32()
class PCI_HEADER_TYPE_2(vstruct.VStruct):
| 64 | 64 | 161 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | PCI_HEADER_TYPE_2 | PCI_HEADER_TYPE_2 | 3,718 | 3,732 | 3,718 | 3,718 | 238282d9fd95fd90c655e9050a7fa662e3b11fcc | bigcode/the-stack | train |
b115ffda1d7f2a1db9555d40 | train | class | class _unnamed_16089(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
self.EaList = v_ptr32()
self.EaListLength = v_uint32()
self.EaIndex = v_uint32()
| class _unnamed_16089(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
self.EaList = v_ptr32()
self.EaListLength = v_uint32()
self.EaIndex = v_uint32()
| .VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.BreakpointAddress = v_uint64()
self.Flags = v_uint32()
self._pad0010 = v_bytes(size=4)
class _unnamed_16089(vstruct.VStruct):
| 64 | 64 | 68 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16089 | _unnamed_16089 | 1,074 | 1,080 | 1,074 | 1,074 | 3768158087cbba1e1b10032de1f36c095753ab1b | bigcode/the-stack | train |
7e9b7abf8918e018f44d6bf2 | train | class | class SEP_AUDIT_POLICY_OVERLAY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.PolicyBits = v_uint64()
| class SEP_AUDIT_POLICY_OVERLAY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.PolicyBits = v_uint64()
| self):
vstruct.VStruct.__init__(self)
self.TraceFlag = v_uint32()
self.Dr7 = v_uint32()
self.CurrentSymbolStart = v_uint32()
self.CurrentSymbolEnd = v_uint32()
class SEP_AUDIT_POLICY_OVERLAY(vstruct.VStruct):
| 64 | 64 | 39 | 13 | 51 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | SEP_AUDIT_POLICY_OVERLAY | SEP_AUDIT_POLICY_OVERLAY | 6,193 | 6,196 | 6,193 | 6,193 | 990903a6682c34eb25535ee5a9782b3f7f2a75d0 | bigcode/the-stack | train |
8045cf7ff64c6d805aea4994 | train | class | 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 UNICODE_STRING(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint16()
self.MaximumLength = v_uint16()
self.Buffer = v_ptr32()
| ()
self.ArbitraryUserPointer = v_ptr32()
self.Self = v_ptr32()
class POWER_STATE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SystemState = v_uint32()
class UNICODE_STRING(vstruct.VStruct):
| 64 | 64 | 51 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | UNICODE_STRING | UNICODE_STRING | 4,920 | 4,925 | 4,920 | 4,920 | a7c22e91938fe0964ecaab7c6851d4fce5bf47a6 | bigcode/the-stack | train |
d4fdcdd737ae5dde1ef9a709 | train | class | class DBGKD_READ_WRITE_IO_EXTENDED32(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.DataSize = v_uint32()
self.InterfaceType = v_uint32()
self.BusNumber = v_uint32()
self.AddressSpace = v_uint32()
self.IoAddress = v_uint32()
self.Dat... | class DBGKD_READ_WRITE_IO_EXTENDED32(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.DataSize = v_uint32()
self.InterfaceType = v_uint32()
self.BusNumber = v_uint32()
self.AddressSpace = v_uint32()
self.IoAddress = v_uint32()
self.DataValue = v_uint32()
| SymbolEnd = v_uint64()
class SYSPTES_HEADER(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ListHead = LIST_ENTRY()
self.Count = v_uint32()
class DBGKD_READ_WRITE_IO_EXTENDED32(vstruct.VStruct):
| 64 | 64 | 86 | 14 | 50 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DBGKD_READ_WRITE_IO_EXTENDED32 | DBGKD_READ_WRITE_IO_EXTENDED32 | 6,117 | 6,125 | 6,117 | 6,117 | 86ace0a6d4971f8f91f91e45bfe88cb97ae26caf | bigcode/the-stack | train |
0c21744f1fcc574710ab0039 | train | class | class PROCESSOR_POWER_POLICY_INFO(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.TimeCheck = v_uint32()
self.DemoteLimit = v_uint32()
self.PromoteLimit = v_uint32()
self.DemotePercent = v_uint8()
self.PromotePercent = v_uint8()
self.... | class PROCESSOR_POWER_POLICY_INFO(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.TimeCheck = v_uint32()
self.DemoteLimit = v_uint32()
self.PromoteLimit = v_uint32()
self.DemotePercent = v_uint8()
self.PromotePercent = v_uint8()
self.Spare = vstruct.VArray([ v_uint8() for i in xrange(2... | .Flags = v_uint32()
self.Calls = v_uint32()
self.MaxCallsPerPeriod = v_uint32()
self.MinInstructions = v_uint32()
self.MaxInstructions = v_uint32()
self.TotalInstructions = v_uint32()
class PROCESSOR_POWER_POLICY_INFO(vstruct.VStruct):
| 64 | 64 | 113 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | PROCESSOR_POWER_POLICY_INFO | PROCESSOR_POWER_POLICY_INFO | 1,585 | 1,594 | 1,585 | 1,585 | 4767638f64493e7b420ec3528754e83de0c3c364 | bigcode/the-stack | train |
d9777e5f4e197cac61a80c1b | train | class | class SINGLE_LIST_ENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Next = v_ptr32()
| class SINGLE_LIST_ENTRY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Next = v_ptr32()
| .VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Total = v_uint32()
self.ListName = v_uint32()
self.Flink = v_uint32()
self.Blink = v_uint32()
class SINGLE_LIST_ENTRY(vstruct.VStruct):
| 64 | 64 | 34 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | SINGLE_LIST_ENTRY | SINGLE_LIST_ENTRY | 7,254 | 7,257 | 7,254 | 7,254 | 9c5585d6459fa2d95ad33402828b70f9aeaf8216 | bigcode/the-stack | train |
32c13ee38395b9bd3ca548e8 | train | class | class FS_FILTER_CALLBACK_DATA(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SizeOfFsFilterCallbackData = v_uint32()
self.Operation = v_uint8()
self.Reserved = v_uint8()
self._pad0008 = v_bytes(size=2)
self.DeviceObject = v_ptr32()
s... | class FS_FILTER_CALLBACK_DATA(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.SizeOfFsFilterCallbackData = v_uint32()
self.Operation = v_uint8()
self.Reserved = v_uint8()
self._pad0008 = v_bytes(size=2)
self.DeviceObject = v_ptr32()
self.FileObject = v_ptr32()
self.Paramete... | __(self)
self.MailslotQuota = v_uint32()
self.MaximumMessageSize = v_uint32()
self.ReadTimeout = LARGE_INTEGER()
self.TimeoutSpecified = v_uint8()
self._pad0018 = v_bytes(size=7)
class FS_FILTER_CALLBACK_DATA(vstruct.VStruct):
| 64 | 64 | 96 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | FS_FILTER_CALLBACK_DATA | FS_FILTER_CALLBACK_DATA | 1,150 | 1,159 | 1,150 | 1,150 | 02b6dcd4596eb56fe4e4b7547ae942c92a78c8ee | bigcode/the-stack | train |
b956dfbc7e1bb8c1e785e88e | train | class | class MMVAD_FLAGS2(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.FileOffset = v_uint32()
| class MMVAD_FLAGS2(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.FileOffset = v_uint32()
| 32()
self.Flags = v_uint16()
self.Spare = v_uint16()
self.Name = vstruct.VArray([ v_uint16() for i in xrange(1) ])
self._pad0018 = v_bytes(size=2)
class MMVAD_FLAGS2(vstruct.VStruct):
| 64 | 64 | 37 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | MMVAD_FLAGS2 | MMVAD_FLAGS2 | 3,931 | 3,934 | 3,931 | 3,931 | 17f22dfd711d42dfccb874260ed37c3eb40ab173 | bigcode/the-stack | train |
bf61eedabb4a83c0844890a6 | train | class | class SE_AUDIT_PROCESS_CREATION_INFO(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ImageFileName = v_ptr32()
| class SE_AUDIT_PROCESS_CREATION_INFO(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ImageFileName = v_ptr32()
| .NameLength = v_uint16()
self.ClassLength = v_uint16()
self.Name = vstruct.VArray([ v_uint16() for i in xrange(1) ])
self._pad0050 = v_bytes(size=2)
class SE_AUDIT_PROCESS_CREATION_INFO(vstruct.VStruct):
| 64 | 64 | 41 | 14 | 50 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | SE_AUDIT_PROCESS_CREATION_INFO | SE_AUDIT_PROCESS_CREATION_INFO | 6,805 | 6,808 | 6,805 | 6,805 | 5ae43673909f5789e34cdc3243583a478f70e29b | bigcode/the-stack | train |
981b4b530a2fa5cd7fd0d2d2 | train | class | class MM_SESSION_SPACE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ReferenceCount = v_uint32()
self.u = _unnamed_13227()
self.SessionId = v_uint32()
self.SessionPageDirectoryIndex = v_uint32()
self.GlobalVirtualAddress = v_ptr32()
... | class MM_SESSION_SPACE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ReferenceCount = v_uint32()
self.u = _unnamed_13227()
self.SessionId = v_uint32()
self.SessionPageDirectoryIndex = v_uint32()
self.GlobalVirtualAddress = v_ptr32()
self.ProcessList = LIST_ENTRY()
... | self.Version = v_uint16()
self.Interface = v_ptr32()
self.InterfaceSpecificData = v_ptr32()
class FAST_MUTEX(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Count = v_uint32()
self.Owner = v_ptr32()
self.Contention = v_uint32()
sel... | 139 | 139 | 465 | 9 | 130 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | MM_SESSION_SPACE | MM_SESSION_SPACE | 4,329 | 4,372 | 4,329 | 4,329 | 1c25af747116b0d76e12d74aa261c30cb67b0b97 | bigcode/the-stack | train |
10c2d5ffe8aa6950701afeca | train | class | class DBGKD_SET_SPECIAL_CALL64(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.SpecialCall = v_uint64()
| class DBGKD_SET_SPECIAL_CALL64(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.SpecialCall = v_uint64()
| IAL_RESOURCE_DESCRIPTOR() for i in xrange(7) ])
class _unnamed_13153(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.EntireFrame = v_uint32()
class DBGKD_SET_SPECIAL_CALL64(vstruct.VStruct):
| 64 | 64 | 38 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DBGKD_SET_SPECIAL_CALL64 | DBGKD_SET_SPECIAL_CALL64 | 644 | 647 | 644 | 644 | 58dc6868dc2532590b92831d379375f317cdf801 | bigcode/the-stack | train |
59cc13542edad351cdcff27e | train | class | class CM_KEY_SECURITY_CACHE_ENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Cell = v_uint32()
self.CachedSecurity = v_ptr32()
| class CM_KEY_SECURITY_CACHE_ENTRY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Cell = v_uint32()
self.CachedSecurity = v_ptr32()
| .VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Address = v_uint64()
self.Length = v_uint32()
self.Flags = v_uint16()
self.PatternLength = v_uint16()
class CM_KEY_SECURITY_CACHE_ENTRY(vstruct.VStruct):
| 64 | 64 | 46 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | CM_KEY_SECURITY_CACHE_ENTRY | CM_KEY_SECURITY_CACHE_ENTRY | 6,935 | 6,939 | 6,935 | 6,935 | 03293c5be897d9a56deef564b59bdaaf60f8fd9e | bigcode/the-stack | train |
de7127b5b2c2347ec76f0256 | train | class | class CM_CELL_REMAP_BLOCK(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.OldCell = v_uint32()
self.NewCell = v_uint32()
| class CM_CELL_REMAP_BLOCK(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.OldCell = v_uint32()
self.NewCell = v_uint32()
| .FramePointer = v_uint16()
self.KiCallUserMode = v_uint32()
self.KeUserCallbackDispatcher = v_uint32()
self.BreakpointWithStatus = v_uint32()
self.DebuggerDataList = v_uint32()
class CM_CELL_REMAP_BLOCK(vstruct.VStruct):
| 64 | 64 | 47 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | CM_CELL_REMAP_BLOCK | CM_CELL_REMAP_BLOCK | 5,599 | 5,603 | 5,599 | 5,599 | 36021ad85c98616a16f4bbfc94c20485187006eb | bigcode/the-stack | train |
5692efd7cdbe106fb7a8f639 | train | class | class COMPRESSED_DATA_INFO(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.CompressionFormatAndEngine = v_uint16()
self.CompressionUnitShift = v_uint8()
self.ChunkShift = v_uint8()
self.ClusterShift = v_uint8()
self.Reserved = v_uint8()
... | class COMPRESSED_DATA_INFO(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.CompressionFormatAndEngine = v_uint16()
self.CompressionUnitShift = v_uint8()
self.ChunkShift = v_uint8()
self.ClusterShift = v_uint8()
self.Reserved = v_uint8()
self.NumberOfChunks = v_uint16()
s... | self)
self.Length = v_uint32()
self.ImpersonationLevel = v_uint32()
self.ContextTrackingMode = v_uint8()
self.EffectiveOnly = v_uint8()
self._pad000c = v_bytes(size=2)
class COMPRESSED_DATA_INFO(vstruct.VStruct):
| 64 | 64 | 112 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | COMPRESSED_DATA_INFO | COMPRESSED_DATA_INFO | 3,593 | 3,602 | 3,593 | 3,593 | ed0a305fa383a03d9e4ba0ca8e6449f4aebf34a5 | bigcode/the-stack | train |
d5eb8d420951d544e5526254 | train | class | class DBGKM_EXCEPTION32(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ExceptionRecord = EXCEPTION_RECORD32()
self.FirstChance = v_uint32()
| class DBGKM_EXCEPTION32(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ExceptionRecord = EXCEPTION_RECORD32()
self.FirstChance = v_uint32()
| _uint32()
self.ProcessId = v_uint32()
self.CheckSum = v_uint32()
self.SizeOfImage = v_uint32()
self.UnloadSymbols = v_uint8()
self._pad0018 = v_bytes(size=3)
class DBGKM_EXCEPTION32(vstruct.VStruct):
| 64 | 64 | 46 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DBGKM_EXCEPTION32 | DBGKM_EXCEPTION32 | 1,236 | 1,240 | 1,236 | 1,236 | 8e7f4635a303c615786a7bdfe7e917dc669c0090 | bigcode/the-stack | train |
cea0a9154de61fef32560edc | train | class | class OBJECT_DUMP_CONTROL(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Stream = v_ptr32()
self.Detail = v_uint32()
| class OBJECT_DUMP_CONTROL(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Stream = v_ptr32()
self.Detail = v_uint32()
| teAddress = v_ptr32()
self.u2 = _unnamed_13151()
self.u3 = _unnamed_13152()
self.OriginalPte = MMPTE()
self.u4 = _unnamed_13153()
class OBJECT_DUMP_CONTROL(vstruct.VStruct):
| 64 | 64 | 43 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | OBJECT_DUMP_CONTROL | OBJECT_DUMP_CONTROL | 3,790 | 3,794 | 3,790 | 3,790 | 434e7894858d9ac84d19757670076558eb678205 | bigcode/the-stack | train |
82fcdc8bb6d706453dbc5f43 | train | class | class CM_CACHED_VALUE_INDEX(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.CellIndex = v_uint32()
self.Data = _unnamed_13383()
| class CM_CACHED_VALUE_INDEX(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.CellIndex = v_uint32()
self.Data = _unnamed_13383()
| __(self)
self.Type = v_uint32()
self.Flags = v_uint8()
self.Spare = vstruct.VArray([ v_uint8() for i in xrange(3) ])
self.Battery = _unnamed_13534()
class CM_CACHED_VALUE_INDEX(vstruct.VStruct):
| 64 | 64 | 48 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | CM_CACHED_VALUE_INDEX | CM_CACHED_VALUE_INDEX | 5,514 | 5,518 | 5,514 | 5,514 | 815bac9863101eb8b4b57147f660eed9007de9a8 | bigcode/the-stack | train |
837302912d86b70ebac548a8 | train | class | class DBGKD_WRITE_MEMORY32(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.TargetBaseAddress = v_uint32()
self.TransferCount = v_uint32()
self.ActualBytesWritten = v_uint32()
| class DBGKD_WRITE_MEMORY32(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.TargetBaseAddress = v_uint32()
self.TransferCount = v_uint32()
self.ActualBytesWritten = v_uint32()
| struct.VStruct.__init__(self)
self.Valid = v_uint32()
class HANDLE_TABLE_ENTRY_INFO(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.AuditMask = v_uint32()
class DBGKD_WRITE_MEMORY32(vstruct.VStruct):
| 64 | 64 | 58 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DBGKD_WRITE_MEMORY32 | DBGKD_WRITE_MEMORY32 | 778 | 783 | 778 | 778 | 11ff978887c9733ae8779e97ffba886dac9fd324 | bigcode/the-stack | train |
a3a48ae5607ce006027bf058 | train | class | class DUMP_STACK_CONTEXT(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Init = DUMP_INITIALIZATION_CONTEXT()
self.PartitionOffset = LARGE_INTEGER()
self.DumpPointers = v_ptr32()
self.PointersLength = v_uint32()
self.ModulePrefix = v_ptr32()
... | class DUMP_STACK_CONTEXT(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Init = DUMP_INITIALIZATION_CONTEXT()
self.PartitionOffset = LARGE_INTEGER()
self.DumpPointers = v_ptr32()
self.PointersLength = v_uint32()
self.ModulePrefix = v_ptr32()
self.DriverList = LIST_ENTRY()
... | __init__(self):
vstruct.VStruct.__init__(self)
self.BlockAddress = v_uint32()
self.BinAddress = v_uint32()
self.CmView = v_ptr32()
self.MemAlloc = v_uint32()
class DUMP_STACK_CONTEXT(vstruct.VStruct):
| 64 | 64 | 138 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | DUMP_STACK_CONTEXT | DUMP_STACK_CONTEXT | 4,558 | 4,572 | 4,558 | 4,558 | 9dcfada2eebf5c22221f0b29ea53bdfb3ca04062 | bigcode/the-stack | train |
d067bab8a19063b3c2eccca3 | train | class | class MMEXTEND_INFO(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.CommittedSize = v_uint64()
self.ReferenceCount = v_uint32()
self._pad0010 = v_bytes(size=4)
| class MMEXTEND_INFO(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.CommittedSize = v_uint64()
self.ReferenceCount = v_uint32()
self._pad0010 = v_bytes(size=4)
| WakeState = v_uint32()
self.DefaultLowLatencyWake = v_uint32()
class DBGKD_SET_CONTEXT(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ContextFlags = v_uint32()
class MMEXTEND_INFO(vstruct.VStruct):
| 64 | 64 | 59 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | MMEXTEND_INFO | MMEXTEND_INFO | 7,343 | 7,348 | 7,343 | 7,343 | 87fa114982a67cfb1b629968876eda4da9851a36 | bigcode/the-stack | train |
71ac2d07a81897f38a0a4372 | train | class | class HEAP_LOOKASIDE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ListHead = SLIST_HEADER()
self.Depth = v_uint16()
self.MaximumDepth = v_uint16()
self.TotalAllocates = v_uint32()
self.AllocateMisses = v_uint32()
self.TotalFrees = ... | class HEAP_LOOKASIDE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.ListHead = SLIST_HEADER()
self.Depth = v_uint16()
self.MaximumDepth = v_uint16()
self.TotalAllocates = v_uint32()
self.AllocateMisses = v_uint32()
self.TotalFrees = v_uint32()
self.FreeMisses = v_... | def __init__(self):
vstruct.VStruct.__init__(self)
self.VirtualAddress = v_ptr32()
self.CallingAddress = v_ptr32()
self.NumberOfBytes = v_uint32()
self.Tag = v_uint32()
class HEAP_LOOKASIDE(vstruct.VStruct):
| 64 | 64 | 152 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | HEAP_LOOKASIDE | HEAP_LOOKASIDE | 983 | 996 | 983 | 983 | d412297c0e357939dd9bdadd2997e8ad615e05de | bigcode/the-stack | train |
9679201c053f427ec12e2ac8 | train | class | class KGDTENTRY(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.LimitLow = v_uint16()
self.BaseLow = v_uint16()
self.HighWord = _unnamed_13092()
| class KGDTENTRY(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.LimitLow = v_uint16()
self.BaseLow = v_uint16()
self.HighWord = _unnamed_13092()
| = v_uint16()
self.IncreaseTime = v_uint32()
self.DecreaseTime = v_uint32()
self.IncreaseCount = v_uint32()
self.DecreaseCount = v_uint32()
self.PerformanceTime = v_uint64()
class KGDTENTRY(vstruct.VStruct):
| 64 | 64 | 57 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | KGDTENTRY | KGDTENTRY | 4,888 | 4,893 | 4,888 | 4,888 | d084cc9f9b5c6ae0fcadc2c673565b210bd138bb | bigcode/the-stack | train |
50d533cf85d1375866a519df | train | class | class VI_DEADLOCK_NODE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Parent = v_ptr32()
self.ChildrenList = LIST_ENTRY()
self.SiblingsList = LIST_ENTRY()
self.ResourceList = LIST_ENTRY()
self.Root = v_ptr32()
self.ThreadEntry = v_pt... | class VI_DEADLOCK_NODE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Parent = v_ptr32()
self.ChildrenList = LIST_ENTRY()
self.SiblingsList = LIST_ENTRY()
self.ResourceList = LIST_ENTRY()
self.Root = v_ptr32()
self.ThreadEntry = v_ptr32()
self.Active = v_uint32()
... | .VArray([ v_uint32() for i in xrange(15) ])
class MMPTE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.u = _unnamed_11597()
class VI_DEADLOCK_NODE(vstruct.VStruct):
| 64 | 64 | 131 | 11 | 53 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | VI_DEADLOCK_NODE | VI_DEADLOCK_NODE | 6,020 | 6,031 | 6,020 | 6,020 | 2c7118395c856cb40305320c4e07c5d60f2fe38e | bigcode/the-stack | train |
c0a3f9cb0047da1518993fc6 | train | class | class PCI_MJ_DISPATCH_TABLE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.PnpIrpMaximumMinorFunction = v_uint32()
self.PnpIrpDispatchTable = v_ptr32()
self.PowerIrpMaximumMinorFunction = v_uint32()
self.PowerIrpDispatchTable = v_ptr32()
sel... | class PCI_MJ_DISPATCH_TABLE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.PnpIrpMaximumMinorFunction = v_uint32()
self.PnpIrpDispatchTable = v_ptr32()
self.PowerIrpMaximumMinorFunction = v_uint32()
self.PowerIrpDispatchTable = v_ptr32()
self.SystemControlIrpDispatchStyle = v_uint32()
... | .End = v_uint64()
self.UserData = v_ptr32()
self.Owner = v_ptr32()
self.Attributes = v_uint8()
self.Flags = v_uint8()
self._pad0020 = v_bytes(size=6)
class PCI_MJ_DISPATCH_TABLE(vstruct.VStruct):
| 64 | 64 | 131 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | PCI_MJ_DISPATCH_TABLE | PCI_MJ_DISPATCH_TABLE | 6,600 | 6,610 | 6,600 | 6,600 | ac6bfcca0cc175792ccfe7e7acf3bb7398d07d03 | bigcode/the-stack | train |
9f4945529b83b97b15459379 | train | class | class PI_BUS_EXTENSION(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Flags = v_uint32()
self.NumberCSNs = v_uint32()
self.ReadDataPort = v_ptr32()
self.DataPortMapped = v_uint8()
self._pad0010 = v_bytes(size=3)
self.AddressPort = v_... | class PI_BUS_EXTENSION(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Flags = v_uint32()
self.NumberCSNs = v_uint32()
self.ReadDataPort = v_ptr32()
self.DataPortMapped = v_uint8()
self._pad0010 = v_bytes(size=3)
self.AddressPort = v_ptr32()
self.AddrPortMapped = v_u... | self.PeakNonPagedBytes = v_uint32()
self.BurstAllocationsFailedDeliberately = v_uint32()
self.SessionTrims = v_uint32()
self.Reserved = vstruct.VArray([ v_uint32() for i in xrange(2) ])
class PI_BUS_EXTENSION(vstruct.VStruct):
| 68 | 69 | 231 | 9 | 59 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | PI_BUS_EXTENSION | PI_BUS_EXTENSION | 1,115 | 1,137 | 1,115 | 1,115 | 528258f00d5cb32514a08b4fc2211fd78bf5ebcd | bigcode/the-stack | train |
cbc46bc21f8ac472d8e6f97b | train | class | class KDPC(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Type = v_uint16()
self.Number = v_uint8()
self.Importance = v_uint8()
self.DpcListEntry = LIST_ENTRY()
self.DeferredRoutine = v_ptr32()
self.DeferredContext = v_ptr32()
... | class KDPC(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Type = v_uint16()
self.Number = v_uint8()
self.Importance = v_uint8()
self.DpcListEntry = LIST_ENTRY()
self.DeferredRoutine = v_ptr32()
self.DeferredContext = v_ptr32()
self.SystemArgument1 = v_pt... | ):
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 KDPC(vstruct.VStruct):
| 64 | 64 | 108 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | KDPC | KDPC | 5,177 | 5,188 | 5,177 | 5,177 | c9de8d4c1cba5b4c7f87449ee1726ff7d3ef85f1 | bigcode/the-stack | train |
62b530176b8226983230945f | train | class | class MMCOLOR_TABLES(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Flink = v_uint32()
self.Blink = v_ptr32()
self.Count = v_uint32()
| class MMCOLOR_TABLES(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Flink = v_uint32()
self.Blink = v_ptr32()
self.Count = v_uint32()
| self.ProxyData = v_ptr32()
self.AuditData = v_ptr32()
self.OriginatingLogonSession = LUID()
self.VariablePart = v_uint32()
self._pad00a8 = v_bytes(size=4)
class MMCOLOR_TABLES(vstruct.VStruct):
| 64 | 64 | 53 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | MMCOLOR_TABLES | MMCOLOR_TABLES | 3,413 | 3,418 | 3,413 | 3,413 | e9519940dfbbfa11113e1151192a57038c35a105 | bigcode/the-stack | train |
2b7ad9fb7b007e51e4a3e0be | train | class | class _unnamed_14486(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.UserData = v_ptr32()
self.Owner = v_ptr32()
| class _unnamed_14486(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.UserData = v_ptr32()
self.Owner = v_ptr32()
| self.Version = v_uint8()
self.Support = PM_SUPPORT()
class _unnamed_14487(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.ListHead = LIST_ENTRY()
class _unnamed_14486(vstruct.VStruct):
| 64 | 64 | 46 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_14486 | _unnamed_14486 | 574 | 578 | 574 | 574 | 97c6e9ce8acb8b81f5c5c7e603c53c6a3637f430 | bigcode/the-stack | train |
0c6c76817bed1ab5d43e0878 | train | class | class OBJECT_TYPE(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Mutex = ERESOURCE()
self.TypeList = LIST_ENTRY()
self.Name = UNICODE_STRING()
self.DefaultObject = v_ptr32()
self.Index = v_uint32()
self.TotalNumberOfObjects = v_uint3... | class OBJECT_TYPE(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Mutex = ERESOURCE()
self.TypeList = LIST_ENTRY()
self.Name = UNICODE_STRING()
self.DefaultObject = v_ptr32()
self.Index = v_uint32()
self.TotalNumberOfObjects = v_uint32()
self.TotalNumberOfHandle... | ResourceList = LIST_ENTRY()
self.BestConfig = LIST_ENTRY()
self.ActiveArbiterList = LIST_ENTRY()
self.State = v_uint8()
self.ResourcesChanged = v_uint8()
self._pad0038 = v_bytes(size=2)
class OBJECT_TYPE(vstruct.VStruct):
| 64 | 64 | 151 | 8 | 56 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | OBJECT_TYPE | OBJECT_TYPE | 5,231 | 5,245 | 5,231 | 5,231 | 7c2a9de49d52ac5099297d3f4f1b7e1a4bcccbc0 | bigcode/the-stack | train |
fec1b8fc3600fd8f9db6f490 | train | class | class _unnamed_16779(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.EndingOffset = v_ptr32()
self.ResourceToRelease = v_ptr32()
| class _unnamed_16779(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.EndingOffset = v_ptr32()
self.ResourceToRelease = v_ptr32()
| .ListHead = LIST_ENTRY()
class _unnamed_14486(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.UserData = v_ptr32()
self.Owner = v_ptr32()
class _unnamed_16779(vstruct.VStruct):
| 64 | 64 | 49 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16779 | _unnamed_16779 | 581 | 585 | 581 | 581 | a140dc8535c0f2d4847ddc0b545a7d6e6dac9b38 | bigcode/the-stack | train |
e67c3ca4581e5609465dff89 | train | class | class IMAGE_SECTION_HEADER(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Name = vstruct.VArray([ v_uint8() for i in xrange(8) ])
self.Misc = _unnamed_14793()
self.VirtualAddress = v_uint32()
self.SizeOfRawData = v_uint32()
self.PointerToRaw... | class IMAGE_SECTION_HEADER(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Name = vstruct.VArray([ v_uint8() for i in xrange(8) ])
self.Misc = _unnamed_14793()
self.VirtualAddress = v_uint32()
self.SizeOfRawData = v_uint32()
self.PointerToRawData = v_uint32()
self.PointerToReloc... | = v_bytes(size=4)
class SEP_AUDIT_POLICY_CATEGORIES(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.System = v_uint32()
self.AccountLogon = v_uint32()
class IMAGE_SECTION_HEADER(vstruct.VStruct):
| 64 | 64 | 145 | 9 | 55 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | IMAGE_SECTION_HEADER | IMAGE_SECTION_HEADER | 6,721 | 6,733 | 6,721 | 6,721 | 2d45fde5939b4c4b8a5a52a938fff802216edd45 | bigcode/the-stack | train |
34e12debe4b8b17f83e00e5e | train | class | class MMVAD_FLAGS(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.CommitCharge = v_uint32()
| class MMVAD_FLAGS(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.CommitCharge = v_uint32()
| v_uint16()
self.KcbMaxValueNameLen = v_uint16()
self.KcbMaxValueDataLen = v_uint32()
self.KcbUserFlags = v_uint32()
self._pad0050 = v_bytes(size=4)
class MMVAD_FLAGS(vstruct.VStruct):
| 64 | 64 | 36 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | MMVAD_FLAGS | MMVAD_FLAGS | 2,229 | 2,232 | 2,229 | 2,229 | 8094b97c857361152961bf1a144914d018ef6ae7 | bigcode/the-stack | train |
c1fc01e22a5a5424f10f6e33 | train | class | class MM_DRIVER_VERIFIER_DATA(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Level = v_uint32()
self.RaiseIrqls = v_uint32()
self.AcquireSpinLocks = v_uint32()
self.SynchronizeExecutions = v_uint32()
self.AllocationsAttempted = v_uint32()
... | class MM_DRIVER_VERIFIER_DATA(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Level = v_uint32()
self.RaiseIrqls = v_uint32()
self.AcquireSpinLocks = v_uint32()
self.SynchronizeExecutions = v_uint32()
self.AllocationsAttempted = v_uint32()
self.AllocationsSucceeded = v_uint32()
... | self.Flags = v_uint32()
self._pad0010 = v_bytes(size=4)
class _unnamed_16089(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Length = v_uint32()
self.EaList = v_ptr32()
self.EaListLength = v_uint32()
self.EaIndex = v_uint32()
class ... | 100 | 100 | 336 | 11 | 89 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | MM_DRIVER_VERIFIER_DATA | MM_DRIVER_VERIFIER_DATA | 1,083 | 1,112 | 1,083 | 1,083 | a83680498d06b3e439e1fb7b6d1c825199aada10 | bigcode/the-stack | train |
ce4ed5cfad9af4af4dd40412 | train | class | class _unnamed_16004(vstruct.VStruct):
def __init__(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 _unnamed_16004(vstruct.VStruct):
| def __init__(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()
| self.CompletionContext = v_ptr32()
class MMWSLE_HASH(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Key = v_ptr32()
self.Index = v_uint32()
class _unnamed_16004(vstruct.VStruct):
| 64 | 64 | 72 | 12 | 52 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | _unnamed_16004 | _unnamed_16004 | 6,477 | 6,484 | 6,477 | 6,477 | d604a21077977ffecbb73f31a87d91a01549cbb3 | bigcode/the-stack | train |
883e5413a2d28012e6e999b6 | train | class | class CM_NAME_CONTROL_BLOCK(vstruct.VStruct):
def __init__(self):
vstruct.VStruct.__init__(self)
self.Compressed = v_uint8()
self._pad0002 = v_bytes(size=1)
self.RefCount = v_uint16()
self.NameHash = CM_NAME_HASH()
| class CM_NAME_CONTROL_BLOCK(vstruct.VStruct):
| def __init__(self):
vstruct.VStruct.__init__(self)
self.Compressed = v_uint8()
self._pad0002 = v_bytes(size=1)
self.RefCount = v_uint16()
self.NameHash = CM_NAME_HASH()
| self.WorkingSetLockOwner = v_ptr32()
self.PagedPool = POOL_DESCRIPTOR()
self.ProcessReferenceToSession = v_uint32()
self.LocaleId = v_uint32()
self._pad1278 = v_bytes(size=4)
class CM_NAME_CONTROL_BLOCK(vstruct.VStruct):
| 64 | 64 | 67 | 10 | 54 | cmaruti/vivisect | vstruct/defs/windows/win_5_1_i386/ntoskrnl.py | Python | CM_NAME_CONTROL_BLOCK | CM_NAME_CONTROL_BLOCK | 4,375 | 4,381 | 4,375 | 4,375 | ae6e7c8921548c0abcd070e3b7a4c91d282b1383 | bigcode/the-stack | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.