LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::ELF::SymbolVersionAuxRequirement Class Reference

#include <SymbolVersionAuxRequirement.hpp>

Inheritance diagram for LIEF::ELF::SymbolVersionAuxRequirement:
Collaboration diagram for LIEF::ELF::SymbolVersionAuxRequirement:

Public Member Functions

 SymbolVersionAuxRequirement (const details::Elf64_Vernaux &header)
 
 SymbolVersionAuxRequirement (const details::Elf32_Vernaux &header)
 
 SymbolVersionAuxRequirement ()=default
 
SymbolVersionAuxRequirementoperator= (const SymbolVersionAuxRequirement &)=default
 
 SymbolVersionAuxRequirement (const SymbolVersionAuxRequirement &)=default
 
 ~SymbolVersionAuxRequirement () override=default
 
uint32_t hash () const
 Hash value of the dependency name (use ELF hashing function)
 
uint16_t flags () const
 Bitmask of flags.
 
uint16_t other () const
 It returns the unique version index for the file which is used in the version symbol table. If the highest bit (bit 15) is set this is a hidden symbol which cannot be referenced from outside the object.
 
void hash (uint32_t hash)
 
void flags (uint16_t flags)
 
void other (uint16_t other)
 
void accept (Visitor &visitor) const override
 
const std::string & name () const
 Symbol's aux name (e.g. GLIBC_2.2.5)
 
void name (std::string name)
 
- Public Member Functions inherited from LIEF::ELF::SymbolVersionAux
 SymbolVersionAux (std::string name)
 
 SymbolVersionAux ()=default
 
 ~SymbolVersionAux () override=default
 
SymbolVersionAuxoperator= (const SymbolVersionAux &)=default
 
 SymbolVersionAux (const SymbolVersionAux &)=default
 
const std::string & name () const
 Symbol's aux name (e.g. GLIBC_2.2.5)
 
void name (std::string name)
 
- Public Member Functions inherited from LIEF::Object
 Object ()
 
 Object (const Object &other)
 
Objectoperator= (const Object &other)
 
template<class T >
output_t< T > as ()
 
template<class T >
output_const_t< T > as () const
 
virtual bool operator== (const Object &other) const
 
virtual bool operator!= (const Object &other) const
 
virtual ~Object ()
 

Additional Inherited Members

- Public Types inherited from LIEF::Object
template<class T >
using output_t = add_pointer_t<decay_t<T>>
 
template<class T >
using output_const_t = add_pointer_t<add_const_t<decay_t<T>>>
 

Constructor & Destructor Documentation

◆ SymbolVersionAuxRequirement() [1/4]

LIEF::ELF::SymbolVersionAuxRequirement::SymbolVersionAuxRequirement ( const details::Elf64_Vernaux & header)

◆ SymbolVersionAuxRequirement() [2/4]

LIEF::ELF::SymbolVersionAuxRequirement::SymbolVersionAuxRequirement ( const details::Elf32_Vernaux & header)

◆ SymbolVersionAuxRequirement() [3/4]

LIEF::ELF::SymbolVersionAuxRequirement::SymbolVersionAuxRequirement ( )
default

◆ SymbolVersionAuxRequirement() [4/4]

LIEF::ELF::SymbolVersionAuxRequirement::SymbolVersionAuxRequirement ( const SymbolVersionAuxRequirement & )
default

◆ ~SymbolVersionAuxRequirement()

LIEF::ELF::SymbolVersionAuxRequirement::~SymbolVersionAuxRequirement ( )
overridedefault

Member Function Documentation

◆ accept()

void LIEF::ELF::SymbolVersionAuxRequirement::accept ( Visitor & visitor) const
overridevirtual

Reimplemented from LIEF::ELF::SymbolVersionAux.

◆ flags() [1/2]

uint16_t LIEF::ELF::SymbolVersionAuxRequirement::flags ( ) const
inline

Bitmask of flags.

◆ flags() [2/2]

void LIEF::ELF::SymbolVersionAuxRequirement::flags ( uint16_t flags)
inline

◆ hash() [1/2]

uint32_t LIEF::ELF::SymbolVersionAuxRequirement::hash ( ) const
inline

Hash value of the dependency name (use ELF hashing function)

◆ hash() [2/2]

void LIEF::ELF::SymbolVersionAuxRequirement::hash ( uint32_t hash)
inline

References LIEF::hash().

◆ name() [1/2]

const std::string & LIEF::ELF::SymbolVersionAux::name ( ) const
inline

Symbol's aux name (e.g. GLIBC_2.2.5)

Referenced by operator<<.

◆ name() [2/2]

void LIEF::ELF::SymbolVersionAux::name ( std::string name)
inline

◆ operator=()

SymbolVersionAuxRequirement & LIEF::ELF::SymbolVersionAuxRequirement::operator= ( const SymbolVersionAuxRequirement & )
default

◆ other() [1/2]

uint16_t LIEF::ELF::SymbolVersionAuxRequirement::other ( ) const
inline

It returns the unique version index for the file which is used in the version symbol table. If the highest bit (bit 15) is set this is a hidden symbol which cannot be referenced from outside the object.

◆ other() [2/2]

void LIEF::ELF::SymbolVersionAuxRequirement::other ( uint16_t other)
inline

The documentation for this class was generated from the following file: