AsmJit
Low-Latency Machine Code Generation
Section entry.
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.
Tests whether the section has the given flag
.
Adds flags
to the section flags.
Removes 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.
Use 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.
Returns the CodeBuffer
used by this section.
Returns the CodeBuffer
used by this section (const).
Section id.
Section flags.
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.