Struct AuxHeader32

struct AuxHeader32 { ... }

The auxiliary header immediately following file header. If the value of the f_opthdr field in the file header is 0, the auxiliary header does not exist.

Fields

o_mflag: U16<BigEndian>

Flags.

o_vstamp: U16<BigEndian>

Version.

o_tsize: U32<BigEndian>

Text size in bytes.

o_dsize: U32<BigEndian>

Initialized data size in bytes.

o_bsize: U32<BigEndian>

Uninitialized data size in bytes.

o_entry: U32<BigEndian>

Entry point descriptor (virtual address).

o_text_start: U32<BigEndian>

Base address of text (virtual address).

o_data_start: U32<BigEndian>

Base address of data (virtual address).

o_toc: U32<BigEndian>

Address of TOC anchor.

o_snentry: U16<BigEndian>

Section number for entry point.

o_sntext: U16<BigEndian>

Section number for .text.

o_sndata: U16<BigEndian>

Section number for .data.

o_sntoc: U16<BigEndian>

Section number for TOC.

o_snloader: U16<BigEndian>

Section number for loader data.

o_snbss: U16<BigEndian>

Section number for .bss.

o_algntext: U16<BigEndian>

Maximum alignment for .text.

o_algndata: U16<BigEndian>

Maximum alignment for .data.

o_modtype: U16<BigEndian>

Module type field.

o_cpuflag: u8

Bit flags - cpu types of objects.

o_cputype: u8

Reserved for CPU type.

o_maxstack: U32<BigEndian>

Maximum stack size allowed (bytes).

o_maxdata: U32<BigEndian>

Maximum data size allowed (bytes).

o_debugger: U32<BigEndian>

Reserved for debuggers.

o_textpsize: u8

Requested text page size.

o_datapsize: u8

Requested data page size.

o_stackpsize: u8

Requested stack page size.

o_flags: u8

Flags and thread-local storage alignment.

o_sntdata: U16<BigEndian>

Section number for .tdata.

o_sntbss: U16<BigEndian>

Section number for .tbss.

Implementations

impl AuxHeader for AuxHeader32

fn o_mflag(self: &Self) -> u16
fn o_vstamp(self: &Self) -> u16
fn o_tsize(self: &Self) -> <Self as >::Word
fn o_dsize(self: &Self) -> <Self as >::Word
fn o_bsize(self: &Self) -> <Self as >::Word
fn o_entry(self: &Self) -> <Self as >::Word
fn o_text_start(self: &Self) -> <Self as >::Word
fn o_data_start(self: &Self) -> <Self as >::Word
fn o_toc(self: &Self) -> <Self as >::Word
fn o_snentry(self: &Self) -> u16
fn o_sntext(self: &Self) -> u16
fn o_sndata(self: &Self) -> u16
fn o_sntoc(self: &Self) -> u16
fn o_snloader(self: &Self) -> u16
fn o_snbss(self: &Self) -> u16
fn o_algntext(self: &Self) -> u16
fn o_algndata(self: &Self) -> u16
fn o_modtype(self: &Self) -> u16
fn o_cpuflag(self: &Self) -> u8
fn o_cputype(self: &Self) -> u8
fn o_maxstack(self: &Self) -> <Self as >::Word
fn o_maxdata(self: &Self) -> <Self as >::Word
fn o_debugger(self: &Self) -> u32
fn o_textpsize(self: &Self) -> u8
fn o_datapsize(self: &Self) -> u8
fn o_stackpsize(self: &Self) -> u8
fn o_flags(self: &Self) -> u8
fn o_sntdata(self: &Self) -> u16
fn o_sntbss(self: &Self) -> u16
fn o_x64flags(self: &Self) -> Option<u16>

impl Clone for AuxHeader32

fn clone(self: &Self) -> AuxHeader32

impl Copy for AuxHeader32

impl Debug for AuxHeader32

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for AuxHeader32

impl Pod for AuxHeader32

impl RefUnwindSafe for AuxHeader32

impl Send for AuxHeader32

impl Sync for AuxHeader32

impl Unpin for AuxHeader32

impl UnsafeUnpin for AuxHeader32

impl UnwindSafe for AuxHeader32

impl<T> Any for AuxHeader32

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for AuxHeader32

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for AuxHeader32

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for AuxHeader32

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for AuxHeader32

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for AuxHeader32

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for AuxHeader32

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for AuxHeader32

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for AuxHeader32

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>