CAUTION: This information refers to an earlier version of the file format (version 1.2).
The variable initializer table (VARSINIT) consists of a number of contiguous definitions (VARINIT), each of which contains all the information about a specific variable initialization, also called the initial value.
The location (relative to the file) and the number of elements in the program variable table are specified by the HEADER.VARSINITOFF and HEADER.VARSINITSIZE fields, respectively.
Variable initializer definition
A variable initializer (VARINIT) consists of the following information:
Name |
Offset |
Type |
Description |
---|---|---|---|
NAME |
+0 |
U32 |
Offset variable name (relative to strings). |
VALUE |
+4 |
U32 |
Variable value offset (relative to strings). |