pub enum PhdrReloc {
AUTO,
PIE_SHIFT,
BSS_END,
BINARY_END,
SEGMENT_GAP,
UNKNOWN(u32),
}Expand description
Strategy used for relocating the PHDR table
Variants§
AUTO
Let LIEF choose the best strategy
PIE_SHIFT
Shift content after the PHDR table (PIE binaries only)
BSS_END
Relocate the PHDR after the first BSS-like segment
BINARY_END
Relocate at the end of the binary
SEGMENT_GAP
Relocate between two LOAD segments
UNKNOWN(u32)
Trait Implementations§
impl Copy for PhdrReloc
impl Eq for PhdrReloc
impl StructuralEq for PhdrReloc
impl StructuralPartialEq for PhdrReloc
Auto Trait Implementations§
impl RefUnwindSafe for PhdrReloc
impl Send for PhdrReloc
impl Sync for PhdrReloc
impl Unpin for PhdrReloc
impl UnwindSafe for PhdrReloc
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