LIEF: Library to Instrument Executable Formats Version
|
Class which represents an entry in the dynamic table These entries are located in the .dynamic
section or the PT_DYNAMIC
segment.
More...
#include <DynamicEntry.hpp>
Public Member Functions | |
DynamicEntry (const details::Elf64_Dyn &header) | |
DynamicEntry (const details::Elf32_Dyn &header) | |
DynamicEntry (DYNAMIC_TAGS tag, uint64_t value) | |
DynamicEntry & | operator= (const DynamicEntry &) |
DynamicEntry (const DynamicEntry &) | |
DYNAMIC_TAGS | tag () const |
Tag of the current entry. The most common tags are: DT_NEEDED, DT_INIT, ... | |
uint64_t | value () const |
Return the entry's value. | |
void | tag (DYNAMIC_TAGS tag) |
void | value (uint64_t value) |
void | accept (Visitor &visitor) const override |
virtual std::ostream & | print (std::ostream &os) const |
Public Member Functions inherited from LIEF::Object | |
Object (const Object &other) | |
Object & | operator= (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 |
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 > > > |
Class which represents an entry in the dynamic table These entries are located in the .dynamic
section or the PT_DYNAMIC
segment.
|
overridevirtual |
Implements LIEF::Object.
Reimplemented in LIEF::ELF::DynamicEntryFlags.
uint64_t LIEF::ELF::DynamicEntry::value | ( | ) | const |
Return the entry's value.
The meaning of the value strongly depends on the tag. It can be an offset, an index, a flag, ...