Machine Code Generation for C++
Executable (.text sections).
Read-only (.text and .data sections).
Zero initialized by the loader (BSS).
Info / comment flag.
Section created implicitly and can be deleted by Target.
Returns the section id.
Returns the section name, as a null terminated string.
Returns the section data.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Returns the section flags, see Flags.
Tests whether the section has the given
flags to the section flags.
flags from the section flags.
Returns the minimum section alignment.
Sets the minimum section alignment.
Returns the section order, which has a higher priority than section id.
Returns the section offset, relative to base.
Set the section offset.
Returns the virtual size of the section.
Virtual size is initially zero and is never changed by AsmJit. It's normal if virtual size is smaller than size returned by
bufferSize() as the buffer stores real data emitted by assemblers or appended by users.
realSize() to get the real and final size of this section.
Sets the virtual size of the section.
Returns the buffer size of the section.
Returns the real size of the section calculated from virtual and buffer sizes.
CodeBuffer used by this section.
CodeBuffer used by this section (const).
Section alignment requirements (0 if no requirements).
Order (lower value means higher priority).
Offset of this section from base-address.
Virtual size of the section (zero initialized sections).
Section name (max 35 characters, PE allows max 8).
Code or data buffer.