benilla-re systems structs docs

s_randomTwoPi

global · random

Address
0xb05d70 · 4 bytes, up to 0xb05d73
Type
float
Meaning
Holds 2π, set at startup; read only by unreached noise
Confidence
verified, proof one
Finding
random#static-initializers

Finding: Static initializers in random

Three static initializers of the library run at startup, from slots 0x827530, 0x827534 and 0x827538 of the C runtime's initializer table: 0x44eaf0 copies +∞ into 0xb05d68, 0x4531a0 stores 2π in 0xb05d70 as π + π in floats (0x40c90fdb), and 0x4531c0 stores 1 / 0xb05d70 in 0xb05d6c (0x3e22f983). Each is reached through a thunk, 0x44eae0, 0x453190 and 0x4531b0, a jmp padded to 16 bytes.

The derivation is in the doc.