pub struct Config {Show 20 fields
pub dt_hash: bool,
pub dyn_str: bool,
pub dynamic_section: bool,
pub fini_array: bool,
pub gnu_hash: bool,
pub init_array: bool,
pub interpreter: bool,
pub jmprel: bool,
pub notes: bool,
pub preinit_array: bool,
pub relr: bool,
pub android_rela: bool,
pub rela: bool,
pub static_symtab: bool,
pub sym_verdef: bool,
pub sym_verneed: bool,
pub sym_versym: bool,
pub symtab: bool,
pub coredump_notes: bool,
pub force_relocate: bool,
}
Expand description
Structure used to configure the crate::elf::Binary::write_with_config
operation
Fields§
§dt_hash: bool
Rebuild DT_HASH
dyn_str: bool
Rebuild DT_STRTAB
dynamic_section: bool
Rebuild PT_DYNAMIC
segment
fini_array: bool
Rebuild DT_FINI_ARRAY
gnu_hash: bool
Rebuild DT_GNU_HASH
init_array: bool
Rebuild DT_INIT_ARRAY
interpreter: bool
Rebuild PT_INTERPRETER
jmprel: bool
Rebuild DT_JMPREL
notes: bool
Rebuild notes sections
preinit_array: bool
Rebuild DT_PREINIT_ARRAY
relr: bool
Rebuild DT_RELR
android_rela: bool
Rebuild DT_ANDROID_REL[A]
rela: bool
Rebuild DT_REL[A]
static_symtab: bool
Rebuild .symtab
sym_verdef: bool
Rebuild DT_VERDEF
sym_verneed: bool
Rebuild DT_VERNEED
sym_versym: bool
Rebuild DT_VERSYM
symtab: bool
Rebuild DT_SYMTAB
coredump_notes: bool
Rebuild the Coredump notes
force_relocate: bool
Force to relocating all the ELF structures that are supported by LIEF (mostly for testing)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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