s_wardenSourcePath
global · warden
- Address
0x86f074· 62 bytes, up to0x86f0b1- Type
const char[62]- Meaning
- Holds the source path WardenClient.cpp that the file passes to its allocations
- 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.