Skip to main content

Module section

Module section 

Source
Expand description

FAFB Section Entry and Section Table

The section table is located at the end of the file (at section_table_offset). Each entry is 16 bytes and describes one section’s location and metadata.

§Section Entry Layout (16 bytes)

Offset  Size  Field
------  ----  -----
0       1     section_type
1       1     priority
2       4     offset
6       4     length
10      2     token_count
12      4     flags (section-specific)
------  ----
Total: 16 bytes

Structs§

SectionEntry
A single section entry in the section table
SectionTable
The section table containing all section entries

Constants§

SECTION_ENTRY_SIZE
Size of a single section entry in bytes