#[repr(C)]pub struct CodeSetHeader {Show 14 fields
pub name: [u8_; 8],
pub version: u16_,
pub padding: [u16_; 3],
pub text_addr: u32_,
pub text_size: u32_,
pub ro_addr: u32_,
pub ro_size: u32_,
pub rw_addr: u32_,
pub rw_size: u32_,
pub text_size_total: u32_,
pub ro_size_total: u32_,
pub rw_size_total: u32_,
pub padding2: u32_,
pub program_id: u64_,
}Expand description
Information on address space for process. All sizes are in pages (0x1000 bytes)
Fields§
§name: [u8_; 8]< ASCII name of codeset
version: u16_< Version field of codeset (unused)
padding: [u16_; 3]< Padding
text_addr: u32_< .text start address
text_size: u32_< .text number of pages
ro_addr: u32_< .rodata start address
ro_size: u32_< .rodata number of pages
rw_addr: u32_< .data, .bss start address
rw_size: u32_< .data number of pages
text_size_total: u32_< total pages for .text (aligned)
ro_size_total: u32_< total pages for .rodata (aligned)
rw_size_total: u32_< total pages for .data, .bss (aligned)
padding2: u32_< Padding
program_id: u64_< Program ID
Trait Implementations§
Source§impl Clone for CodeSetHeader
impl Clone for CodeSetHeader
Source§fn clone(&self) -> CodeSetHeader
fn clone(&self) -> CodeSetHeader
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodeSetHeader
impl Debug for CodeSetHeader
Source§impl Default for CodeSetHeader
impl Default for CodeSetHeader
Source§fn default() -> CodeSetHeader
fn default() -> CodeSetHeader
Returns the “default value” for a type. Read more
impl Copy for CodeSetHeader
Auto Trait Implementations§
impl Freeze for CodeSetHeader
impl RefUnwindSafe for CodeSetHeader
impl Send for CodeSetHeader
impl Sync for CodeSetHeader
impl Unpin for CodeSetHeader
impl UnwindSafe for CodeSetHeader
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)