benilla-re systems structs docs

InitGlueSquare61Thunk

function · glue · orchestration

Address
0x46fc80 · 5 bytes, up to 0x46fc84
Signature
void __cdecl (void)
Meaning
Jumps to 0x46fc90; a static initializer
Confidence
verified, proof one
Finding
glue/layout#static-initializers

Finding: Static initializers in glue: layout

Each of the 216 header initializers is a thunk, a five-byte jmp or a ten-byte call and jmp, and a body at the next 16-byte boundary that stores one value in a global: +inf copied from a constant, 3.14159 + 3.14159, 1 divided by that 2π, a square of a constant (10, 100, 50, 40, 30, 20, 11.1111, 5.55556, 5, 3, 1.5, 0.5, or 120), 5.0, or 0.5 / 10. Nine bodies instead count one more unit in the shared global 0xc2a3c4 and call 0x5b71c0 on the first; their thunks then register, with atexit, a body that counts it back down and tail-calls 0x5b71d0 at zero.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.