#[repr(C)]pub struct Elf64Shdr {
pub sh_name: usize,
pub sh_type: u32,
pub sh_flags: u64,
pub sh_addr: u64,
pub sh_offset: u64,
pub sh_size: u64,
pub sh_link: u32,
pub sh_info: u32,
pub sh_addralign: u64,
pub sh_entsize: u64,
}Expand description
Represents an ELF64 section header table entry.
Describes individual sections within the ELF file.
Fields§
§sh_name: usizeIndex into the section name string table.
sh_type: u32Section type (e.g., SHT_PROGBITS, SHT_SYMTAB).
sh_flags: u64Section flags (e.g., SHF_ALLOC, SHF_EXECINSTR).
sh_addr: u64Virtual address of the section in memory.
sh_offset: u64File offset of the section.
sh_size: u64Size of the section in bytes.
sh_link: u32Section header table link index.
sh_info: u32Additional section-specific information.
sh_addralign: u64Section alignment constraints.
sh_entsize: u64Size of entries in the section (if it holds a table).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Elf64Shdr
impl RefUnwindSafe for Elf64Shdr
impl Send for Elf64Shdr
impl Sync for Elf64Shdr
impl Unpin for Elf64Shdr
impl UnwindSafe for Elf64Shdr
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