pub struct ElfFile {
pub header: ElfHeader64,
pub program_headers: Vec<ProgramHeader64>,
pub section_headers: Vec<SectionHeader64>,
pub data: Vec<u8>,
}Expand description
ELF 文件构建器
用于构建完整的 ELF 文件结构
Fields§
§header: ElfHeader64ELF 头
program_headers: Vec<ProgramHeader64>程序头表
section_headers: Vec<SectionHeader64>节头表
data: Vec<u8>文件数据
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ElfFile
impl RefUnwindSafe for ElfFile
impl Send for ElfFile
impl Sync for ElfFile
impl Unpin for ElfFile
impl UnwindSafe for ElfFile
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