Enum lief::elf::parser_config::DynSymCount
pub enum DynSymCount {
AUTO,
SECTION,
HASH,
RELOCATIONS,
UNKNOWN(u32),
}
Expand description
Enum that describes the different methods that can be used by the parser to identity the number of dynamic symbols
Variants§
AUTO
Automatic detection
SECTION
Count based on sections (not very reliable
HASH
Count based on hash table (reliable)
RELOCATIONS
Count based on PLT/GOT relocations (very reliable but not accurate)
UNKNOWN(u32)
Trait Implementations§
§impl Clone for DynSymCount
impl Clone for DynSymCount
§fn clone(&self) -> DynSymCount
fn clone(&self) -> DynSymCount
Returns a copy 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 more§impl Debug for DynSymCount
impl Debug for DynSymCount
§impl From<DynSymCount> for u32
impl From<DynSymCount> for u32
§fn from(value: DynSymCount) -> u32
fn from(value: DynSymCount) -> u32
Converts to this type from the input type.
§impl From<u32> for DynSymCount
impl From<u32> for DynSymCount
§impl Hash for DynSymCount
impl Hash for DynSymCount
§impl PartialEq<DynSymCount> for DynSymCount
impl PartialEq<DynSymCount> for DynSymCount
§fn eq(&self, other: &DynSymCount) -> bool
fn eq(&self, other: &DynSymCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DynSymCount
impl Eq for DynSymCount
impl StructuralEq for DynSymCount
impl StructuralPartialEq for DynSymCount
Auto Trait Implementations§
impl RefUnwindSafe for DynSymCount
impl Send for DynSymCount
impl Sync for DynSymCount
impl Unpin for DynSymCount
impl UnwindSafe for DynSymCount
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