benilla-re systems structs docs

core

rowsnamedverifiedproof twotested
functions454454 (100%)307 (67%)202 (44%)11 (2%)
globals124124 (100%)118 (95%)12 (9%)–
structs66 (100%)6 (100%)2 (33%)–
fields6060 (100%)60 (100%)30 (50%)–
all644644 (100%)491 (76%)246 (38%)11 (2%)

Docs

core: closing the window

What the client does when its window is closed (the close box, Alt+F4, WM_CLOSE, a log-off), at the glue screens and in the world: which window messages start a quit, how the context and its handlers for categories 3 and 4 run, what goes on the wire, what is written to disk and in what order, and how the process ends. A close sends no logout request and starts no timer or dialog; it runs the same teardown as ForceQuit and the quit console command. The code is the window procedure and pump (core/input), the event library's context teardown (core/loop), the client's start and stop handlers and WinMain's tail (client), and the C runtime's exit.

core: events

The event bus every system plugs into. A context holds 29 handler lists, one per event category; code registers a handler on a category of the current thread's context, and the library calls the handlers of a category, highest priority first, whenever it dispatches that category.

The loop dispatches the context categories (core/loop): 7 at start, 6, 5 (frame time) and 0x11 each tick, 3 and 4 at teardown. The window input dispatches the input categories (core/input): 1 and 2, 8 to 0x10, 0x1b and 0x1c. Nothing in the library dispatches 0, or 0x12 to 0x1a. The same object files hold the held-key and held-button state the dispatch keeps, the deferred message queue, the timers and the observer classes.

core: the frame pass

The frame pass draws one frame. It is the one handler of event category 0x11, which the loop dispatches last in each tick of the running context (core/loop#what-one-tick-runs). It walks the screen layers from the lowest priority to the highest and calls each visible layer's callback with the time since the last pass, then presents. The interface's top is a layer (ui/strata), and the 3D world draws inside the top's draw walk (ui/worldframe#drawing-the-world), so the interface's OnUpdate walk, the world and the interface's paint all run inside this pass.

The code is the screen-layer object file around 0x442350, which this repo does not own: its rows stay unassigned. Its state is the layer list 0x885610 and the elapsed time 0x885608. A layer is a ScreenLayer of 0x40 bytes. The pass clips the layers with the region calls at 0x65c610 and after, whose object file is not owned here either.

core: window input

How Windows messages become events. The window procedure turns each input message into a five-dword record in a ring; once per tick the loop drains the ring through the message pump and a switch on the record's kind, which updates the shared modifier and button masks and dispatches one event category (core/events).

The window code is the OS object file from 0x42c9d0 through 0x42e1d0: the pump, the ring, the window procedure, key translation, cursor placement and the window frame. The switch and the per-kind handlers, 0x4239a0 to 0x424260, are in the event library. The masks are 0x883f30 (mouse mode), 0x883f34 (modifier keys) and 0x883f40 (held buttons). The window procedure is installed by the window code of another system, which calls it through a pointer.

core: the frame loop

The engine's event library runs the client: a scheduler that sleeps until a context is due, then runs one tick of it. A tick fans out to the rest of the client through event categories (events), and its clock is the millisecond clock (time).

The library is the object files from 0x41f550 through 0x429340: the public Event calls, the scheduler (EvtSched.cpp), contexts, handler lists and messages, the input bridge, the observers and the timers (EvtTimer.cpp). Its state is the slot table at 0x883f18, the shutdown event 0x883f24, and one context of 0x214 bytes. In this build WinMain starts it with one thread and creates one context, so the scheduler always runs that one context on the main thread, and the heap and load balancing never choose between two.

core: Mac key input

How the 1.12.1 Mac client turns Carbon keyboard events into the key codes its binding layer names. Every mac: address here is the i386 slice's (docs/METHOD.md, The binary decides; symbols/README.md, The Mac client); a 0x address is WoW.exe's. The keycodes are Carbon's virtual keycodes, the kVK_ constants of Events.h.

InputCarbonEvents.cpp holds the Carbon event handler mac:089e3e and the pump mac:08abe4. The handler maps a key's keycode through a 128-entry live table, mac:991d20, which starts as the fixed table mac:5bf320 and takes the keyboard layout's characters in its free slots, and queues five-dword records in a 32-slot ring. The event library's switch mac:1d6326 turns the key records into the event categories WoW.exe uses (core/input, core/events), and the binding layer's chord builder mac:1de176 names them. The Windows counterpart of the key table is core/input#key-codes.

core: scheduler

The data below the frame loop (core/loop): the slots that hold contexts, how a context is inserted, balanced and destroyed, the context table, and the array and list helpers the event library shares. A slot is an EvtThread of 0x38 bytes. It serves the loop threads that run it and holds a binary min-heap of contexts ordered by due time. This build runs one loop thread, so there is one slot, and the code that moves a context between slots finds no other slot to move it to. The code is the event library's scheduler file and its neighbours (0x41f550 to 0x429340). The context table is eight buckets by handle, each with a read-write lock and a list.

core: process entry and threads

How the process reaches the frame loop, and the thread layer the loop leans on. The entry point runs two start-up calls and the C runtime, which calls WinMain; the application body brings the clock, the event library and the interface up, runs the loop on the main thread, and takes them down. The thread layer is OsCall.cpp: a record per registered thread under a TLS slot, an optional name object per context, and the thread property array of Prop.cpp, whose element 0 holds the current context. Core owns none of those files, so the entries give the loop's side of each call: its order and arguments. This build starts the library with one thread, creates one context, and never creates a name object.

core: time

The client's clocks. OsGetAsyncTimeMs (0x42c010), called from over 300 sites, is the millisecond clock every timestamp, frame time and timer uses. It reads GetTickCount at first. A calibration thread can move it to the processor's time-stamp counter once its rate estimates agree, at the earliest a quarter of a second in, and back again, keeping it continuous; on a processor whose CPUID reports more than one core in the way Multi-core gate reads, it stays GetTickCount exactly.

The clock lives in three OS object files: the time calls from 0x4293d0 through 0x429790 (calendar time, file times and the manager's creation), TimeManager.cpp from 0x42b6c0 through 0x42ba90 (the counter, its scale and offset, the calibration thread), and the clock file from 0x42bff0 (the millisecond clock and the processor frequency), whose end is not settled. The state is the counter mode 0x884c80, the scale 0x8332c8, the offset 0x884c88, the counter rate 0x8332c0, and one time manager object at 0x884c78.

Closure

94 roots. A walk of direct calls and jumps from them reaches 284 of the 454 functions the system owns, and stops at 63 functions of other systems. Vtable slots and stored addresses are not followed, so a function reached only that way is not counted.

Roots

Boundary

Functions 454

addressnameclassconfidencetestclosure
0x41f550EventInitializeorchestrationverified, proof two✓
0x41f580InitEventInfinityThunkorchestrationverified, proof two✓
0x41f590InitEventInfinityorchestrationverified, proof two✓
0x41f5a0EventDestroyorchestrationverified, proof two✓
0x41f5c0EventDoMessageLooporchestrationverified, proof two✓
0x41f5d0EventStopSchedulerorchestrationverified, proof two✓
0x41f5e0EventCreateContextorchestrationverified, proof two✓
0x41f600EventCreateBackgroundContextunreachedinferred
0x41f630EventIsContextInteractiveunreachedinferred
0x41f6e0EventGetCurrentContextorchestrationverified, proof two✓
0x41f6f0EventQueryContextAunreachedinferred
0x41f7a0EventQueryContextBunreachedinferred
0x41f840EventIsMouseButtonDownunreachedinferred
0x41f8f0EventIsKeyDownorchestrationverified, proof two✓
0x41f9a0EventPostCloseCurrentorchestrationverified, proof two✓
0x41f9b0EventPostCloseorchestrationverified, proof two✓
0x41fa80EventPostMessageAunreachedinferred
0x41fb90EventPostMessageBunreachedinferred
0x41fc90EventRegisterorchestrationverified, proof two✓
0x41fca0EventRegisterExorchestrationverified, proof two✓
0x41fd80EventUnregisterorchestrationverified, proof two✓
0x41fd90EventUnregisterExorchestrationverified, proof two✓
0x41fe40EventSetConfirmCloseCallbackorchestrationverified, proof one✓
0x41fe50EventPumpInputunreachedinferred
0x41ff00EventSetTimerExAunreachedinferred
0x41ffd0EventSetTimerExBunreachedinferred
0x4200a0EventSetTimerorchestrationverified, proof two✓
0x420170EventSetTimerExunreachedverified, proof one
0x420240EventSetTimerExCunreachedinferred
0x420310EventSetTimerExDunreachedinferred
0x4203e0EventKillTimerorchestrationverified, proof two✓
0x420490EventGetTimerRemainingunreachedinferred
0x420540EventSetMouseModeorchestrationverified, proof one✓
0x420600EventGetCursorPosorchestrationverified, proof one✓
0x4206a0EventSetCursorPosunreachedinferred
0x420740EventSetCursorRectunreachedinferred
0x4207e0InitEventTwoPiThunkorchestrationverified, proof two✓
0x4207f0InitEventTwoPiprimitiveverified, proof two✓
0x420800InitEventInvTwoPiThunkorchestrationverified, proof two✓
0x420810InitEventInvTwoPiprimitiveverified, proof two✓
0x420830GetElementLinkAt4orchestrationverified, proof one✓
0x420850InitContextTableorchestrationverified, proof two✓
0x4208b0RegisterDestroyContextTableorchestrationverified, proof two✓
0x4208c0DestroyContextTableorchestrationverified, proof two
0x420980GetContextTableLinkorchestrationverified, proof one
0x4209b0InitSchedInfinityThunkorchestrationverified, proof two✓
0x4209c0InitSchedInfinityorchestrationverified, proof two✓
0x4209d0StaticInitSlotLockorchestrationverified, proof two✓
0x4209e0InitSlotLockorchestrationverified, proof one✓
0x4209f0RegisterDestroySlotLockorchestrationverified, proof two✓
0x420a00DestroySlotLockorchestrationverified, proof one
0x420a10StaticInitSlotListorchestrationverified, proof two✓
0x420a20InitSlotListorchestrationverified, proof two✓
0x420a50RegisterDestroySlotListorchestrationverified, proof two✓
0x420a60DestroySlotListorchestrationverified, proof two
0x420b00StaticInitThreadArrayorchestrationverified, proof two✓
0x420b10InitThreadArrayorchestrationverified, proof one✓
0x420b30RegisterDestroyThreadArrayorchestrationverified, proof two✓
0x420b40DestroyThreadArrayorchestrationverified, proof one
0x420b60StaticInitStartEventorchestrationverified, proof two✓
0x420b70InitStartEventhostverified, proof two✓
0x420b80RegisterCloseStartEventorchestrationverified, proof two✓
0x420b90CloseStartEventhostverified, proof two
0x420ba0StaticInitShutdownEventorchestrationverified, proof two✓
0x420bb0InitShutdownEventhostverified, proof two✓
0x420bc0RegisterCloseShutdownEventorchestrationverified, proof two✓
0x420bd0CloseShutdownEventhostverified, proof two
0x420be0RunMainLooporchestrationverified, proof two✓
0x420c00SchedulerThreadProcorchestrationverified, proof two✓
0x420e20ContextStartorchestrationverified, proof two✓
0x420e60ContextDestroyorchestrationverified, proof two✓
0x420f70ContextUpdateFrameTimeprimitiveverified, proof two✓✓
0x420ff0ContextTickorchestrationverified, proof two✓
0x421030ContextAfterFrameorchestrationverified, proof two✓
0x421080AcquireSlotorchestrationverified, proof one✓
0x4211d0ReleaseSlotorchestrationverified, proof two✓
0x421370RemoveContextLoadorchestrationverified, proof two✓
0x421430PopDueContextorchestrationverified, proof two✓✓
0x421560GetSlotEventorchestrationverified, proof two✓
0x421570RescheduleContextorchestrationverified, proof two✓
0x421840UpdateHeapNodeIndexorchestrationverified, proof two✓
0x421860ResiftHeapNodeorchestrationverified, proof two✓✓
0x4219d0InitSchedulerorchestrationverified, proof two✓
0x421c30DeleteSlotArrayunreachedinferred
0x421cb0DestroySchedulerorchestrationverified, proof two✓
0x421f00PollUntilSignaledorchestrationverified, proof one
0x421f40RemoveHeapNodeAtorchestrationverified, proof two✓
0x422030StopSchedulerhostverified, proof two✓
0x422090EvtContext::EvtContextorchestrationverified, proof two✓
0x4222a0AddContextToSchedulerorchestrationverified, proof two✓
0x4224f0IEvtSchedulerIsContextInteractiveorchestrationverified, proof two✓
0x422500RegisterSchedulerWorkerThreadunreachedverified, proof two
0x422540SchedulerWorkerLoopunreachedinferred
0x422710SchedulerWorkerExitunreachedinferred
0x422720GrowHeapArrayToprimitiveverified, proof one✓
0x422850ReserveHeapArrayprimitiveverified, proof one✓
0x422960ClearFourDwordsorchestrationverified, proof two✓
0x422970HeapNodeIsNotLaterprimitiveverified, proof two✓✓
0x422990InitTimerHeaporchestrationverified, proof two✓
0x4229b0ClearFourDwordsCopyorchestrationverified, proof two✓
0x4229c0FreeThreadArrayStorageorchestrationverified, proof one✓
0x4229e0EvtContextLink::DeletingDestructororchestrationverified, proof one✓
0x422a50EvtContextBase::DeletingDestructororchestrationverified, proof one✓
0x422ac0DestroySlotRecordorchestrationverified, proof one✓
0x422b50GrowHeapArrayByprimitiveverified, proof one✓
0x422c40InitSchedTwoPiThunkorchestrationverified, proof two✓
0x422c50InitSchedTwoPiprimitiveverified, proof two✓
0x422c60InitSchedInvTwoPiThunkorchestrationverified, proof two✓
0x422c70InitSchedInvTwoPiprimitiveverified, proof two✓
0x422c90LinkNodeorchestrationverified, proof one✓
0x422d50InitHandlerListorchestrationverified, proof two✓
0x422d80GetListEndLinkorchestrationverified, proof one✓
0x422da0GrowThreadArrayByprimitiveverified, proof one✓
0x422e90GrowContextArrayByprimitiveverified, proof one✓
0x422f80ClearContextLinkorchestrationverified, proof two✓
0x422f90InitEndLinkorchestrationverified, proof two✓
0x422fa0InitMessageListorchestrationverified, proof two✓
0x422fb0InitKeyListorchestrationverified, proof two✓
0x422fc0GetSlotListLinkorchestrationverified, proof one✓
0x422ff0GetThreadArrayQuantumprimitiveverified, proof one✓
0x423030RoundUpToMultipleprimitiveverified, proof one✓
0x423050ReallocThreadArrayorchestrationverified, proof one✓
0x4230e0GetContextArrayQuantumprimitiveverified, proof one✓
0x423120RoundUpToMultiple2primitiveverified, proof one✓
0x423140ReallocContextArrayorchestrationverified, proof one✓
0x4231d0InitContextTableAgainorchestrationverified, proof two✓
0x423230RegisterDestroyContextTable2orchestrationverified, proof two✓
0x423240EvtContext::DeletingDestructororchestrationverified, proof two✓
0x4233d0RemoveHeapNodeorchestrationverified, proof one✓
0x4234d0DestroyTimerHeaporchestrationverified, proof one✓
0x423510FreeUint32Arrayorchestrationverified, proof two✓
0x423530ClearMessageListorchestrationverified, proof one✓
0x4235c0ClearKeyListorchestrationverified, proof one✓
0x423650FreeTimerArrayorchestrationverified, proof one✓
0x423670DeleteHandlerRecordorchestrationverified, proof one✓
0x4236d0DeleteMessageorchestrationverified, proof one✓
0x423740DeleteKeyRecordorchestrationverified, proof one✓
0x4237a0UnlinkContextListNodeorchestrationverified, proof one✓
0x4237e0ClearHandlerListorchestrationverified, proof one
0x423870InitQueueInfinityThunkorchestrationverified, proof two✓
0x423880InitQueueInfinityorchestrationverified, proof two✓
0x423890StaticInitCursorRectorchestrationverified, proof two✓
0x4238a0InitCursorRectorchestrationverified, proof two✓
0x4238d0RegisterReturnVoidorchestrationverified, proof two✓
0x4238e0ReturnVoidorchestrationverified, proof two
0x4238f0DestroyEventInputorchestrationverified, proof one✓
0x423900ClearInputMasksorchestrationverified, proof two✓
0x423910InitEventInputorchestrationverified, proof two✓
0x423920DrainWindowInputorchestrationverified, proof two✓
0x4239a0DispatchWindowRecordorchestrationverified, proof two✓
0x423b50QueryConfirmCloseorchestrationverified, proof one✓
0x423b70ReleaseHeldButtonsprimitiveverified, proof two✓
0x423bb0PostCharEventorchestrationverified, proof two✓
0x423be0PostCharRunEventsorchestrationverified, proof two✓
0x423c30PostImeEventorchestrationverified, proof two✓
0x423c70PostWindowSizeEventorchestrationverified, proof two✓
0x423ca0StopSchedulerOnCloseorchestrationverified, proof one✓
0x423cb0PostActivateEventorchestrationverified, proof two✓
0x423ce0CheckMouseModeButtonsorchestrationverified, proof one✓
0x423d00PostKeyDownEventprimitiveverified, proof two✓
0x423d50PostKeyUpEventprimitiveverified, proof two✓
0x423db0PostMouseDownEventprimitiveverified, proof two✓
0x423e20ClientPointToFractionsprimitiveverified, proof two✓✓
0x423fc0GenerateMouseFlagsorchestrationverified, proof two✓
0x423fe0PostMouseMoveEventorchestrationverified, proof two✓
0x424050PostMouseDeltaEventprimitiveverified, proof two✓
0x4240b0PostMouseUpEventprimitiveverified, proof two✓
0x424130PostMouseWheelEventorchestrationverified, proof two✓
0x4241a0IEvtInputSetMouseModeprimitiveverified, proof one✓
0x424200PostMouseModeChangedorchestrationverified, proof one✓
0x424250IEvtInputSetConfirmCloseCallbackorchestrationverified, proof one✓
0x424260GetCursorFractionsScaledorchestrationverified, proof one✓
0x4242b0SetCursorFromFractionsunreachedinferred
0x4242f0FractionsToClientPointunreachedinferred
0x424370SetCursorRectunreachedinferred
0x424410InitQueueTwoPiThunkorchestrationverified, proof two✓
0x424420InitQueueTwoPiprimitiveverified, proof two✓
0x424430InitQueueInvTwoPiThunkorchestrationverified, proof two✓
0x424440InitQueueInvTwoPiprimitiveverified, proof two✓
0x424460InitMessageInfinityThunkorchestrationverified, proof two✓
0x424470InitMessageInfinityorchestrationverified, proof two✓
0x424480StaticInitMessagePoolorchestrationverified, proof two✓
0x424490InitMessagePoolorchestrationverified, proof two✓
0x4244c0RegisterResetMessagePoolAtExitorchestrationverified, proof two✓
0x4244d0ResetMessagePoolAtExitorchestrationverified, proof two
0x4244f0InitEventQueueorchestrationverified, proof two✓
0x424500DestroyMessagePoolorchestrationverified, proof one✓
0x424510IEvtQueueCheckSyncKeyStateorchestrationverified, proof two✓
0x424590IEvtQueueCheckSyncMouseStateunreachedinferred
0x4245b0IEvtQueueDispatchorchestrationverified, proof two✓✓
0x424710UpdateSyncStateorchestrationverified, proof two✓✓
0x424790ResetSyncStateorchestrationverified, proof two✓
0x424810UpdateSyncKeyStateorchestrationverified, proof two✓
0x424920UpdateSyncMouseStateprimitiveverified, proof two✓
0x424950IEvtQueueSetHandlerSkipunreachedinferred
0x4249b0IEvtQueueDispatchMessageunreachedinferred
0x424a70FreeMessageorchestrationverified, proof two✓
0x424ad0IEvtQueueProcessMessagesorchestrationverified, proof two✓
0x424c00IEvtQueuePostMessageunreachedinferred
0x424cd0AllocMessageunreachedinferred
0x424d70IEvtQueuePostMessageExunreachedinferred
0x424f00IEvtQueueRegisterorchestrationverified, proof two✓✓
0x425000IEvtQueueUnregisterorchestrationverified, proof two✓
0x4250d0IEvtQueueRemoveHandlerSkipunreachedinferred
0x4251e0EvtMessagePool::Destroyorchestrationverified, proof one✓
0x4251f0EvtMessagePool::DeletingDestructororchestrationverified, proof one✓
0x425220GetHandlerLinkorchestrationverified, proof two✓
0x425250UnlinkHandlerorchestrationverified, proof two✓
0x425290GetMessageLinkorchestrationverified, proof two✓
0x4252c0InitMessageTwoPiThunkorchestrationverified, proof two✓
0x4252d0InitMessageTwoPiprimitiveverified, proof two✓
0x4252e0InitMessageInvTwoPiThunkorchestrationverified, proof two✓
0x4252f0InitMessageInvTwoPiprimitiveverified, proof two✓
0x425310GetKeyLinkorchestrationverified, proof two✓
0x425340UnlinkKeyRecordorchestrationverified, proof two✓
0x425380InitInputObserverInfinityThunkorchestrationverified, proof two✓
0x425390InitInputObserverInfinityorchestrationverified, proof two✓
0x4253a0StaticInitInputObserverPointerorchestrationverified, proof two✓
0x4253b0InitInputObserverPointerorchestrationverified, proof two✓
0x4253c0RegisterReleaseInputObserverAtExitorchestrationverified, proof two✓
0x4253d0ReleaseInputObserverAtExitorchestrationverified, proof one
0x4253f0InitInputObserverModuleorchestrationverified, proof two✓
0x425400ReleaseInputObserverorchestrationverified, proof one✓
0x425430GetInputObserverunreachedinferred
0x4254a0CInputObserver::DeletingDestructorunreachedinferred
0x4254d0InputObserverOnCategory1unreachedinferred
0x425520InputObserverOnKeyDownunreachedinferred
0x425570InputObserverOnKeyUpunreachedinferred
0x4255c0InputObserverOnKeyRepeatunreachedinferred
0x425610InputObserverOnMouseDownunreachedinferred
0x425690InputObserverOnMouseUpunreachedinferred
0x425710InputObserverOnMouseMoveunreachedinferred
0x425790InputObserverOnMouseWheelunreachedinferred
0x425810PostMouseDeltaunreachedinferred
0x425890InputObserverOnMouseModeunreachedinferred
0x425910InputObserverOnActivateunreachedinferred
0x425960InputObserverOnImeEventunreachedinferred
0x4259a0InputObserverOnSizeEventunreachedinferred
0x4259e0InputObserverAttach1unreachedinferred
0x425a30InputObserverDetach1unreachedinferred
0x425a70InputObserverAttach2unreachedinferred
0x425ac0InputObserverDetach2unreachedinferred
0x425b00InputObserverAttach3unreachedinferred
0x425b50InputObserverDetach3unreachedinferred
0x425b90InputObserverAttach4unreachedinferred
0x425be0InputObserverDetach4unreachedinferred
0x425c20InputObserverAttach5unreachedinferred
0x425c70InputObserverDetach5unreachedinferred
0x425cb0InputObserverAttach6unreachedinferred
0x425d00InputObserverDetach6unreachedinferred
0x425d40InputObserverAttach7unreachedinferred
0x425d90InputObserverDetach7unreachedinferred
0x425dd0InputObserverAttach8unreachedinferred
0x425e20InputObserverDetach8unreachedinferred
0x425e60InputObserverAttach9unreachedinferred
0x425eb0InputObserverDetach9unreachedinferred
0x425ef0InputObserverAttach10unreachedinferred
0x425f40InputObserverDetach10unreachedinferred
0x425f80InputObserverAttach11unreachedinferred
0x425fd0InputObserverDetach11unreachedinferred
0x426010InputObserverAttach12unreachedinferred
0x426060InputObserverDetach12unreachedinferred
0x4260a0InputObserverAttach13unreachedinferred
0x4260f0InputObserverDetach13unreachedinferred
0x426130ResetMouseModeThunkunreachedinferred
0x426140InitInputObserverTwoPiThunkorchestrationverified, proof two✓
0x426150InitInputObserverTwoPiprimitiveverified, proof two✓
0x426160InitInputObserverInvTwoPiThunkorchestrationverified, proof two✓
0x426170InitInputObserverInvTwoPiprimitiveverified, proof two✓
0x426190ObserverEvent::DeletingDestructorAorchestrationverified, proof two✓
0x4261c0ObserverEvent::DeletingDestructorBorchestrationverified, proof two✓
0x4261f0ObserverEvent::DeletingDestructorCorchestrationverified, proof two✓
0x426220ObserverEvent::DeletingDestructorDorchestrationverified, proof two✓
0x426250ObserverEvent::DeletingDestructorEorchestrationverified, proof two✓
0x426280ObserverEvent::DeletingDestructorForchestrationverified, proof two✓
0x4262b0ReturnZeroArgunreachedinferred
0x4262c0InitObserverInfinityThunkorchestrationverified, proof two✓
0x4262d0InitObserverInfinityorchestrationverified, proof two✓
0x4262e0StaticInitEventRegPoolorchestrationverified, proof two✓
0x4262f0InitEventRegPoolorchestrationverified, proof two✓
0x426310RegisterDestroyEventRegPoolorchestrationverified, proof two✓
0x426320DestroyEventRegPoolorchestrationverified, proof two
0x426340StaticInitCallbackRegPoolorchestrationverified, proof two✓
0x426350InitCallbackRegPoolorchestrationverified, proof two✓
0x426370RegisterDestroyCallbackRegPoolorchestrationverified, proof two✓
0x426380DestroyCallbackRegPoolorchestrationverified, proof two
0x4263a0StaticInitDispatchRegPoolorchestrationverified, proof two✓
0x4263b0InitDispatchRegPoolorchestrationverified, proof two✓
0x4263d0RegisterDestroyDispatchRegPoolorchestrationverified, proof two✓
0x4263e0DestroyDispatchRegPoolorchestrationverified, proof two
0x426400InitObserverModuleorchestrationverified, proof two✓
0x426410DestroyObserverPoolsorchestrationverified, proof one✓
0x426450CObserver::~CObserverunreachedinferred
0x426470ReleaseObserverRegistrationsunreachedinferred
0x4265b0FindOrAddEventRegunreachedinferred
0x4266c0ObserverRegisterunreachedinferred
0x426850ObserverForwardEventunreachedinferred
0x426870ObserverDispatchEventunreachedinferred
0x4269b0ObserverAttachCallbackunreachedinferred
0x4269e0ObserverAttachDispatchunreachedinferred
0x426a10ObserverDetachAllunreachedinferred
0x426af0ObserverDetachunreachedinferred
0x426bd0ObserverIsAttachedunreachedinferred
0x426bf0ObserverAttachDefaultunreachedinferred
0x426c20EventRegPool::Freeunreachedinferred
0x426c60EventRegPool::Allocunreachedinferred
0x426d30EventReg::EventRegunreachedinferred
0x426d70EventReg::Clearunreachedinferred
0x426ec0AddCallbackRegunreachedinferred
0x426f90AddDispatchRegunreachedinferred
0x4270b0RemoveCallbackRegunreachedinferred
0x427180IsEndLinkorchestrationverified, proof two✓
0x4271a0RemoveDispatchRegunreachedinferred
0x427290ClearCallbackRegsunreachedinferred
0x427340ClearDispatchRegsunreachedinferred
0x4273e0FindCallbackRegunreachedinferred
0x427420FindDispatchRegunreachedinferred
0x427460BeginRegDispatchunreachedinferred
0x427550EndRegDispatchunreachedinferred
0x427680UnlinkRegNodeunreachedinferred
0x4276c0SetRegReferenceunreachedinferred
0x4276e0ReleaseRegReferenceunreachedinferred
0x4276f0ReplaceRegReferenceunreachedinferred
0x427720EventReg::DeletingDestructorunreachedinferred
0x427750EventReg::Createunreachedinferred
0x427810EventRegList::Destroyunreachedinferred
0x4278d0FindEventRegunreachedinferred
0x427990EventRegTable::DeletingDestructorunreachedinferred
0x427a50GetRegNodeLinkAunreachedinferred
0x427a80UnlinkRegNodeAunreachedinferred
0x427ac0GetRegNodeLinkBunreachedinferred
0x427af0UnlinkRegNodeBunreachedinferred
0x427b30GetRegNodeLinkCunreachedinferred
0x427b60UnlinkRegNodeCunreachedinferred
0x427ba0InitObserverTwoPiThunkorchestrationverified, proof two✓
0x427bb0InitObserverTwoPiprimitiveverified, proof two✓
0x427bc0InitObserverInvTwoPiThunkorchestrationverified, proof two✓
0x427bd0InitObserverInvTwoPiprimitiveverified, proof two✓
0x427bf0GetRegNodeLinkDunreachedinferred
0x427c10ClearRegListunreachedinferred
0x427ca0DestroyRegBucketsunreachedinferred
0x427d30ClearRegBucketunreachedinferred
0x427d80RehashEventRegTableunreachedinferred
0x427f70InitRegBucketunreachedinferred
0x427fa0FreeRegBucketNodesunreachedinferred
0x428050InitRegListEndunreachedinferred
0x428060ResizeRegBucketsunreachedinferred
0x4281a0GrowRegBucketsunreachedinferred
0x4282e0ReallocRegBucketsunreachedinferred
0x4283f0CObserver::DeletingDestructorunreachedinferred
0x428420HashEventClassunreachedinferred
0x428470EventRegTable::Destroyunreachedinferred
0x428510IEvtTimerProcessorchestrationverified, proof two✓
0x428700InitTimerInfinityThunkorchestrationverified, proof two✓
0x428710InitTimerInfinityorchestrationverified, proof two✓
0x428720IEvtTimerTimeToNextorchestrationverified, proof two✓
0x428790IEvtTimerGetRemainingunreachedinferred
0x428820IEvtTimerKillorchestrationverified, proof two✓
0x428960IEvtTimerCreateAunreachedinferred
0x428b30IEvtTimerCreateprimitiveverified, proof two✓✓
0x428d00IEvtTimerCreateBunreachedinferred
0x428ee0InsertHeapNodeorchestrationverified, proof two✓
0x428f60InitTimerTwoPiThunkorchestrationverified, proof two✓
0x428f70InitTimerTwoPiprimitiveverified, proof two✓
0x428f80InitTimerInvTwoPiThunkorchestrationverified, proof two✓
0x428f90InitTimerInvTwoPiprimitiveverified, proof two✓
0x428fb0SetUint32ArrayCountprimitiveverified, proof one✓✓
0x4290c0GrowTimerArrayToprimitiveverified, proof one✓
0x4291f0AddUint32ArrayCountprimitiveverified, proof one✓✓
0x4292e0GetUint32ArrayQuantumprimitiveverified, proof two✓
0x429320RoundUpToQuantumprimitiveverified, proof two✓
0x429340ReallocUint32Arrayorchestrationverified, proof one✓
0x4293d0OsGetCpuTicksorchestrationverified, proof two✓
0x4293e0OsGetAsyncTimeSecunreachedinferred
0x429410OsGetTimeStringunreachedinferred
0x429450OsGetDateTimeStamporchestrationverified, proof one✓
0x429490OsFormatLocalTimeunreachedinferred
0x4294c0GetUnixTimeorchestrationverified, proof one✓
0x4294d0OsGetSystemFileTimeunreachedinferred
0x429510OsCompareFileTimeunreachedinferred
0x429540OsFileTimeAddSecondsunreachedinferred
0x429570OsGetTickCountunreachedinferred
0x429580GetWallClockSecondsorchestrationverified, proof one✓
0x429600OsGetSystemTimeunreachedinferred
0x429610OsGetLocalTimeunreachedinferred
0x429620OsCompareSystemTimeunreachedinferred
0x429680OsSecondsToFileTimeunreachedinferred
0x4296b0OsFileTimeToLocalunreachedinferred
0x4296e0OsFileTimeToSystemTimeunreachedinferred
0x429710OsSystemTimeToFileTimeunreachedinferred
0x429740OsSecondsToLocalSystemTimeunreachedinferred
0x429780OsCreateTimeManagerorchestrationverified, proof one✓
0x429790OsDestroyTimeManagerorchestrationverified, proof one✓
0x42b6c0CreateTimeManagerorchestrationverified, proof one✓
0x42b6f0DestroyTimeManagerorchestrationverified, proof one✓
0x42b750OsGetClockCounterhostverified, proof two✓
0x42b770OsGetClockCounterRateorchestrationverified, proof two✓
0x42b790OsGetAsyncTimeMsBodyprimitiveverified, proof two✓
0x42b7c0TimeManager::TimeManagerorchestrationverified, proof two✓
0x42b8b0SetClockCounterprimitiveverified, proof two✓
0x42b970TimeManager::CloseHandleshostverified, proof one
0x42b990TimeManager::SignalStophostverified, proof one✓
0x42b9a0SampleClockCountershostverified, proof one
0x42b9c0CalibrationThreadProcorchestrationverified, proof one
0x42ba20EstimateCounterRateprimitiveverified, proof one
0x42ba90CalibrateClockCounterprimitiveverified, proof one
0x42bff0InitClockInfinityThunkorchestrationverified, proof one✓
0x42c000InitClockInfinityorchestrationverified, proof one✓
0x42c010OsGetAsyncTimeMsorchestrationverified, proof two✓
0x42c020OsGetClockTicksPerSecondprimitiveverified, proof one✓
0x42c040OsGetClockSecondsunreachedinferred
0x42c050OsGetClockModeunreachedinferred
0x42c060OsGetCpuFrequencyorchestrationverified, proof one✓
0x42c0b0GetCachedPowerInfoorchestrationverified, proof one✓
0x42c0e0QueryCpuMaxMhzhostverified, proof one✓
0x42c150InitClockTwoPiThunkorchestrationverified, proof one✓
0x42c160InitClockTwoPiprimitiveverified, proof one✓
0x42c170InitClockInvTwoPiThunkorchestrationverified, proof one✓
0x42c180InitClockInvTwoPiprimitiveverified, proof one✓
0x42c9d0InitInputInfinityThunkorchestrationverified, proof one✓
0x42c9e0InitInputInfinityorchestrationverified, proof one✓
0x42c9f0OsInputGetEventhostverified, proof two✓
0x42cc00DequeueInputRecordorchestrationverified, proof two✓
0x42cc80SetPendingSizeCheckunreachedinferred
0x42cc90OsInputSetMouseModeorchestrationverified, proof one✓
0x42ccd0CenterMousehostverified, proof one✓
0x42cd20RestoreMousehostverified, proof one✓
0x42cd60OsInputGetMouseSpeedprimitiveverified, proof one✓
0x42cd70OsInputSetMouseSpeedprimitiveverified, proof one✓
0x42cde0OsInputGetCursorPoshostverified, proof one✓
0x42ce30SaveCursorPointorchestrationverified, proof one✓
0x42ce50SetCursorClientPoshostverified, proof one✓
0x42cea0GetClientRectCachedhostverified, proof two✓
0x42cf10GetACPorchestrationverified, proof one✓
0x42cf20OsInputInitializehostverified, proof one✓
0x42cf60OsInputShutdownhostverified, proof one✓
0x42cfd0SetWindowMessageHookunreachedverified, proof two
0x42cfe0OsWindowProchostverified, proof two✓
0x42d780EnqueueInputEventorchestrationverified, proof two✓
0x42d800TranslateVirtualKeyprimitiveverified, proof one✓
0x42db90OnMouseButtonDownhostverified, proof two✓
0x42dc00GetMouseMessageButtonprimitiveverified, proof two✓
0x42dd00EnqueueMouseButtonRecordhostverified, proof two✓
0x42dd90OnMouseButtonUphostverified, proof two✓
0x42de10OnFrameMouseMovehostverified, proof one✓
0x42de60MoveWindowByhostverified, proof one✓
0x42dea0SizeWindowByhostverified, proof one✓
0x42df90OnNonClientButtonDownhostverified, proof one✓
0x42e000OnNonClientDoubleClickhostverified, proof one✓
0x42e0a0OnNonClientButtonUphostverified, proof one✓
0x42e1a0InitInputTwoPiThunkorchestrationverified, proof one✓
0x42e1b0InitInputTwoPiprimitiveverified, proof one✓
0x42e1c0InitInputInvTwoPiThunkorchestrationverified, proof one✓
0x42e1d0InitInputInvTwoPiprimitiveverified, proof one✓

Globals 124

addressnametypeconfidence
0x423b10s_windowRecordCasesvoid *[15]verified, proof one
0x424770s_syncStateCasesvoid *[4]verified, proof one
0x424780s_syncStateCaseIndexuint8_t[13]verified, proof one
0x42d5c0s_windowProcCasesLowvoid *[8]verified, proof one
0x42d5e0s_windowProcIndexLowuint8_t[159]verified, proof one
0x42d680s_windowProcKeyCasesvoid *[7]verified, proof one
0x42d69cs_windowProcKeyIndexuint8_t[19]verified, proof one
0x42d6b0s_windowProcMouseCasesvoid *[9]verified, proof one
0x42d6d4s_windowProcMouseIndexuint8_t[133]verified, proof one
0x42da60s_virtualKeyCasesvoid *[39]verified, proof one
0x42dafcs_virtualKeyIndexuint8_t[138]verified, proof one
0x42dce0s_mouseButtonCasesvoid *[4]verified, proof one
0x42dcf0s_mouseButtonIndexuint8_t[9]verified, proof one
0x42df58s_frameSideCasesvoid *[3]verified, proof one
0x42df64s_frameSideIndexuint8_t[8]verified, proof one
0x42df6cs_frameEdgeCasesvoid *[6]verified, proof one
0x42e074s_frameDoubleClickCasesvoid *[4]verified, proof one
0x42e084s_frameDoubleClickIndexuint8_t[19]verified, proof one
0x42e170s_frameReleaseCasesvoid *[6]verified, proof one
0x42e188s_frameReleaseIndexuint8_t[19]verified, proof one
0x801354s_defaultHandlerPriorityfloatverified, proof one
0x801360s_millisecondsToSecondsfloatverified, proof one
0x801364EvtContext::vftablevoid *[1]verified, proof one
0x801368s_heapNodeVtablevoid *[1]verified, proof two
0x80136cs_contextBaseVtablevoid *[1]verified, proof one
0x801370s_contextRootVtablevoid *[1]verified, proof one
0x801374s_pureVirtualVtablevoid *[1]verified, proof one
0x8013b0s_inputObserverVtablevoid *[7]verified, proof two
0x8013ccs_inputEventVtableAvoid *[2]inferred
0x8013f4s_inputEventVtableFvoid *[2]inferred
0x801404s_observerVtablevoid *[7]verified, proof two
0x801420s_eventRegPoolVtablevoid *[2]verified, proof two
0x801430s_eventRegVtablevoid *[4]verified, proof two
0x8015a8s_infinityClockconst floatverified, proof one
0x8015acs_piClockconst floatverified, proof one
0x8015b8s_oneDoubledoubleverified, proof one
0x8015c0s_calibrationLimitAdoubleverified, proof one
0x8015c8s_calibrationLimitBdoubleverified, proof one
0x8015d0s_calibrationLimitCdoubleverified, proof one
0x8015d8s_calibrationLimitDdoubleverified, proof one
0x8015e0s_calibrationLimitEdoubleverified, proof one
0x8015e8s_calibrationLimitFdoubleverified, proof one
0x8015f0s_calibrationLimitGdoubleverified, proof one
0x8015f8s_calibrationLimitHdoubleverified, proof one
0x801600s_calibrationLimitIdoubleverified, proof one
0x801608s_thousandthDoubledoubleverified, proof one
0x801618s_infinityInputconst floatverified, proof one
0x80161cs_piInputconst floatverified, proof one
0x801620s_mouseSpeedMinfloatverified, proof one
0x801624s_mouseSpeedScalefloatverified, proof one
0x801628s_mouseSpeedMaxfloatverified, proof one
0x832cc0s_schedulerCallGuardint32_tverified, proof one
0x832dacs_evtKeyDownTagchar[17]verified, proof one
0x832de4s_evtHandlerTagchar[17]verified, proof one
0x832e00s_uint32ArrayTagchar[3]verified, proof two
0x832f2cs_evtTimerSourcePathchar[51]verified, proof two
0x8332c0s_cpuTicksPerSeconduint64_tverified, proof one
0x8332c8s_clockScaledoubleverified, proof one
0x8333b0s_windowActiveuint32_tverified, proof one
0x8333b8s_cp1252Charsuint32_t[32]verified, proof one
0x833438s_cp1250Charsuint32_t[256]verified, proof one
0x833838s_cp1251Charsuint32_t[256]verified, proof one
0x833c38s_cp1254Charsuint32_t[256]verified, proof one
0x834038s_cp874Charsuint32_t[256]verified, proof one
0x883ec0s_engineThreadPriorityint32_tverified, proof one
0x883ec4s_startEventvoid *verified, proof one
0x883eccs_schedulerThreadsuint32_t[4]verified, proof one
0x883ee8s_slotListEndvoid *[2]verified, proof two
0x883ef0s_interactiveContextsuint32_tverified, proof one
0x883ef4s_slotLockuint8_t[24]verified, proof two
0x883f0cs_schedulerPollinguint32_tverified, proof one
0x883f10s_slotCountuint32_tverified, proof one
0x883f14s_slotLocksvoid *verified, proof one
0x883f18s_slotsvoid **verified, proof two
0x883f20s_mainSlotuint32_tverified, proof one
0x883f24s_shutdownEventvoid *verified, proof one
0x883f30s_mouseModeuint32_tverified, proof one
0x883f34s_modifierKeysuint32_tverified, proof one
0x883f40s_heldButtonsuint32_tverified, proof one
0x883f44s_mouseModeButtonsuint32_tverified, proof one
0x883f48s_cursorRectfloat[4]verified, proof one
0x883f5cs_confirmCloseCallbackvoid *verified, proof one
0x883f60s_confirmCloseArgumentvoid *verified, proof one
0x883f64s_messagePooluint8_t[24]inferred
0x883f7cs_messagePoolLimituint32_tverified, proof two
0x883f94s_inputObservervoid *verified, proof one
0x883fa0s_dispatchRegPooluint8_t[20]inferred
0x883fd0s_eventRegPooluint8_t[20]inferred
0x883ffcs_callbackRegPooluint8_t[20]inferred
0x884048s_cachedUnixTimeuint64_tverified, proof one
0x884058s_lastCpuTicksPerSeconduint64_tverified, proof one
0x884060s_maxCpuTicksPerSeconduint64_tverified, proof one
0x884c70s_cpuMaxHzuint64_tverified, proof one
0x884c78s_timeManagervoid *verified, proof one
0x884c80s_clockModeuint32_tverified, proof one
0x884c88s_clockOffsetdoubleverified, proof one
0x884c90s_cpuMaxHzQuerieduint32_tverified, proof one
0x884c94s_cpuMaxHzQueryOkuint32_tverified, proof one
0x884cb0s_savedMouseSpeeduint32_tverified, proof one
0x884cb4s_mouseSpeeduint32_tverified, proof one
0x884cc0s_inputRinguint32_t[80]verified, proof one
0x884e08s_savedNumLockuint16_tverified, proof one
0x884e0cs_frameRectint32_t[4]verified, proof one
0x884e1cs_capturedButtonsuint32_tverified, proof one
0x884e20s_clientRectint32_t[4]verified, proof one
0x884e30s_releasingCaptureuint32_tverified, proof one
0x884e34s_inputRingReaduint32_tverified, proof one
0x884e38s_mouseCenterXint32_tverified, proof one
0x884e3cs_mouseCenterYint32_tverified, proof one
0x884e40s_pendingSizeCheckuint32_tverified, proof one
0x884e44s_lastCursorPointint32_t[2]verified, proof one
0x884e50s_inputRingWriteuint32_tverified, proof one
0x884e54s_framePressPointint32_t[2]verified, proof one
0x884e5cs_relativeMouseuint32_tverified, proof one
0x884e60s_dragHitTestuint32_tverified, proof one
0x884e64s_dragginguint32_tverified, proof one
0x884e68s_frameReleaseDoneuint32_tverified, proof one
0x884e6cs_windowMessageHookvoid *verified, proof one
0xcf76ccs_contextTableGuarduint32_tverified, proof two
0xcf76e0s_contextHandleLockuint8_t[24]verified, proof one
0xcf76f8s_nextContextHandleuint32_tverified, proof one
0xcf76fcs_contextHandlesWrappeduint32_tverified, proof one
0xcf7700s_contextTableLocksuint8_t[96]verified, proof one
0xcf7760s_contextTableBucketsuint8_t[96]verified, proof one

Structs