16#ifndef LIEF_ELF_SYMBOL_VERSION_H
17#define LIEF_ELF_SYMBOL_VERSION_H
27class SymbolVersionAux;
28class SymbolVersionAuxRequirement;
68 return symbol_version_auxiliary() !=
nullptr;
Class which parses and transforms an ELF file into a ELF::Binary object.
Definition ELF/Parser.hpp:45
Definition SymbolVersionAuxRequirement.hpp:35
Class which represents an Auxiliary Symbol version.
Definition SymbolVersionAux.hpp:30
Class which represents an entry defined in the DT_VERSYM dynamic entry.
Definition SymbolVersion.hpp:32
const SymbolVersionAux * symbol_version_auxiliary() const
Definition SymbolVersion.hpp:77
bool has_auxiliary_version() const
Whether the current SymbolVersion has an auxiliary one.
Definition SymbolVersion.hpp:67
SymbolVersion & operator=(const SymbolVersion &)=default
static SymbolVersion local()
Generate a local SymbolVersion.
Definition SymbolVersion.hpp:42
~SymbolVersion() override=default
friend std::ostream & operator<<(std::ostream &os, const SymbolVersion &symv)
void accept(Visitor &visitor) const override
SymbolVersion(const SymbolVersion &)=default
void symbol_version_auxiliary(SymbolVersionAuxRequirement &svauxr)
Set the version's auxiliary requirement The given SymbolVersionAuxRequirement must be an existing ref...
static SymbolVersion global()
Generate a global SymbolVersion.
Definition SymbolVersion.hpp:47
SymbolVersion(uint16_t value)
Definition SymbolVersion.hpp:36
void value(uint16_t v)
Definition SymbolVersion.hpp:89
SymbolVersionAux * symbol_version_auxiliary()
SymbolVersionAux associated with the current Version if any, or a nullptr.
Definition SymbolVersion.hpp:73
uint16_t value() const
Value associated with the symbol.
Definition SymbolVersion.hpp:62
Definition Visitor.hpp:224
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41