ObjectSection

Undocumented in source.

Members

Functions

alignment
uint alignment()
Undocumented in source. Be warned that the author may not have intended to support it.
flag_execute
bool flag_execute()
Undocumented in source. Be warned that the author may not have intended to support it.
flag_read
bool flag_read()
Undocumented in source. Be warned that the author may not have intended to support it.
flag_write
bool flag_write()
Undocumented in source. Be warned that the author may not have intended to support it.
initDataLength
ulong initDataLength()

Length of initialized data

totalLength
ulong totalLength()

Variables

alignmentPower
ubyte alignmentPower;
buffer
Arena!ubyte* buffer;

Can be null Storage for appending data to this section In JIT mode buffer.bufPtr is equal to sectionAddress Points to the data of this section. Used to perform fixups Length of initialized data is in buffer.length

flags
ushort flags;

set of ObjectSectionFlags

id
Identifier id;
sectionAddress
ulong sectionAddress;

In JIT mode: absolute address In exe mode: offset from executable start to the section start after loading (in memory)

type
ObjectSectionType type;
zeroDataLength
uint zeroDataLength;

Length of zero-initialized data (not included into initDataLength, but included into totalLength)

Meta