ShutdownWardenHandler
function · warden · orchestration
- Address
0x6ca640· 87 bytes, up to0x6ca696- Signature
void __cdecl (void)- Meaning
- Frees both modules and the handover buffer and clears the 0x2e6 handler
- Confidence
- verified, proof one
- Finding
- warden/overview#globals-and-lifetime
Finding: Globals and lifetime in warden: overview
The state is eight globals and two structs. The table pointer 0xce8954 is the object a module receives; the
lock 0xce8958 guards the rest. Static initializers build the lock and store the table pointer. The connect
event runs InitWardenHandler, each frame runs the tick, and a disconnect, a failed connect or a
Disconnect call runs ShutdownWardenHandler. No atexit entry unloads a module; Disconnect is reached from the
client's stop handler through ClientServices::Destroy (0x5ab40a), and whether process exit takes that path is not
read here.
| address | holds |
|---|---|
0xce8954 | a dword, the service table 0x811434 |
0xce8958 | the critical section, 24 bytes |
0xce8974 | the pending module, a WardenModule or null |
0xce8978 | the active module, or null |
0xce897c | the active or starting module's object; its first dword is the module's table |
0xce8980 | the handover buffer's bytes, or null |
0xce8984 | the handover buffer's length |
0xce8988 | the time of the last tick, ms |
The derivation is in the doc.
Callers 4
- ClientConnection::HandleDisconnect net
- ClientConnection::HandleConnectFailure net
- ClientConnection::Disconnect net
- InitWardenHandler warden
Callees 6
- ClientServices::ClearMessageHandler net
- SMemFree storm
- SCritSect::Enter storm
- SCritSect::Leave storm
- FreePendingModule warden
- UnloadActiveModule warden
Calls and jumps by a bare address, from tables/calls.tsv.