benilla-re systems structs docs

CDataStore::vftable

global · base

Address
0x7ff9e4 · 44 bytes, up to 0x7ffa0f
Type
void *[11]
Meaning
Holds the plain data store's vtable: slot 2 refuses a read outside the window, slot 3 grows the buffer
Confidence
verified, proof one
Finding
net/messages#data-store-writes

Finding: Data store writes in net: messages

Each write of n bytes at a position (the size for Put, an argument for Set) asks vtable slot 3 to move the window when the position is below the window or its end past it, ignores the answer, stores, and a Put adds n to the size. The plain store's slot 3 (0x417c30) makes the buffer the end rounded up to 256 bytes; the network store's (0x5bc6c0) starts in 1,024 bytes of its own at +0x18 and grows to exactly the end. PutArray writes chunks of at most the window. PutFloat passes the value through fld and fstp, so a signalling NaN is stored quiet. A null source with a nonzero count sets error 87.

The derivation is in the doc.