pub struct ElfWriteOutput {
pub data: Vec<u8>,
pub base_addr: u64,
pub data_vaddr: u64,
pub text_vaddr: u64,
pub relocations: Vec<RelocationInfo>,
pub ifunc_resolver_val: u64,
}Expand description
Result of an ELF generation process.
Fields§
§data: Vec<u8>Raw bytes of the generated ELF file.
base_addr: u64Base address used for virtual address calculations.
data_vaddr: u64Virtual address of the data segment.
text_vaddr: u64Virtual address of the text segment.
relocations: Vec<RelocationInfo>List of dynamic relocations generated.
ifunc_resolver_val: u64The value returned by the IFUNC resolver.
Trait Implementations§
Source§impl Clone for ElfWriteOutput
impl Clone for ElfWriteOutput
Source§fn clone(&self) -> ElfWriteOutput
fn clone(&self) -> ElfWriteOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ElfWriteOutput
impl RefUnwindSafe for ElfWriteOutput
impl Send for ElfWriteOutput
impl Sync for ElfWriteOutput
impl Unpin for ElfWriteOutput
impl UnwindSafe for ElfWriteOutput
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