pub struct LoadElfResult {
pub mode: ExecutionMode,
pub entry_point: u64,
pub original_entry_point: Option<u64>,
pub base_address: Option<u64>,
pub interpreter_base: Option<u64>,
pub program_headers: ProgramHeadersInfo,
}Expand description
Result of ELF loading analysis
Fields§
§mode: ExecutionModeExecution mode (static or dynamic)
entry_point: u64Entry point (either main program or interpreter)
original_entry_point: Option<u64>Original program entry point (for AT_ENTRY in dynamic linking)
base_address: Option<u64>Base address where main program was loaded (for auxiliary vector)
interpreter_base: Option<u64>Base address where interpreter was loaded (for AT_BASE)
program_headers: ProgramHeadersInfoProgram headers info (for auxiliary vector)
Trait Implementations§
Source§impl Clone for LoadElfResult
impl Clone for LoadElfResult
Source§fn clone(&self) -> LoadElfResult
fn clone(&self) -> LoadElfResult
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 moreAuto Trait Implementations§
impl Freeze for LoadElfResult
impl RefUnwindSafe for LoadElfResult
impl Send for LoadElfResult
impl Sync for LoadElfResult
impl Unpin for LoadElfResult
impl UnwindSafe for LoadElfResult
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)