InitContextTable
function · core · orchestration
- Address
0x420850· 95 bytes, up to0x4208ae- Signature
void __cdecl (void)- Meaning
- Builds the context table lock and its eight buckets once, under the guard bit 0xcf76cc
- Confidence
- verified, proof two
- Finding
- core/loop#static-initializers
Finding: Static initializers in core: the frame loop
The scheduler's object files run 12 static initializers from the C runtime table. Each file
copies +∞ into a global and stores 2π and 1/2π as floats, as every object file using the shared
maths header does. The others build the context table 0xcf7700, the slot list 0x883ee8, the
events 0x883ec4 and 0x883f24, the slot lock and the thread array (Slot lock and thread array), each registering a matching destructor with _atexit.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 3
- RegisterDestroyContextTable core
- SCritSect::SCritSect storm
- 0x6584e0 storm
Calls and jumps by a bare address, from tables/calls.tsv.