pub struct DolHeader {
pub section_offsets: [u32; 18],
pub section_addresses: [u32; 18],
pub section_lengths: [u32; 18],
pub bss_address: u32,
pub bss_length: u32,
pub entrypoint: u32,
}
Expand description
The header of a dol executable, describing the 19 sections (including the bss) as well as the entrypoint of the executable.
Fields§
§section_offsets: [u32; 18]
§section_addresses: [u32; 18]
§section_lengths: [u32; 18]
§bss_address: u32
§bss_length: u32
§entrypoint: u32
Implementations§
Trait Implementations§
Source§impl BinRead for DolHeader
impl BinRead for DolHeader
Source§type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
Source§fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binread_generated_var_reader: &mut R, __binread_generated_var_options: &ReadOptions, __binread_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Read the type from the reader
fn after_parse<R: Read + Seek>( &mut self, __binread_generated_var_reader: &mut R, __binread_generated_var_options: &ReadOptions, __binread_generated_var_arguments: Self::Args, ) -> BinResult<()>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read the type from the reader while assuming no arguments have been passed Read more
Auto Trait Implementations§
impl Freeze for DolHeader
impl RefUnwindSafe for DolHeader
impl Send for DolHeader
impl Sync for DolHeader
impl Unpin for DolHeader
impl UnwindSafe for DolHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more