LIEF: Library to Instrument Executable Formats Version
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
LIEF::ELF::DynamicEntryLibrary Class Reference

Class which represents a DT_NEEDED entry in the dynamic table. More...

#include <DynamicEntryLibrary.hpp>

Inheritance diagram for LIEF::ELF::DynamicEntryLibrary:
Inheritance graph
[legend]
Collaboration diagram for LIEF::ELF::DynamicEntryLibrary:
Collaboration graph
[legend]

Public Member Functions

 DynamicEntryLibrary (std::string name)
 
DynamicEntryLibraryoperator= (const DynamicEntryLibrary &)
 
 DynamicEntryLibrary (const DynamicEntryLibrary &)
 
const std::string & name () const
 Return the library associated with this entry (e.g. libc.so.6)
 
void name (const std::string &name)
 
void accept (Visitor &visitor) const override
 
std::ostream & print (std::ostream &os) const override
 
 DynamicEntry (const details::Elf64_Dyn &header)
 
 DynamicEntry (const details::Elf32_Dyn &header)
 
 DynamicEntry ()
 
 DynamicEntry (DYNAMIC_TAGS tag, uint64_t value)
 
 DynamicEntry (const DynamicEntry &)
 
- Public Member Functions inherited from LIEF::ELF::DynamicEntry
 DynamicEntry (const details::Elf64_Dyn &header)
 
 DynamicEntry (const details::Elf32_Dyn &header)
 
 DynamicEntry (DYNAMIC_TAGS tag, uint64_t value)
 
DynamicEntryoperator= (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)
 
- Public Member Functions inherited from LIEF::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
 

Static Public Member Functions

static bool classof (const DynamicEntry *entry)
 

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 > > >
 

Detailed Description

Class which represents a DT_NEEDED entry in the dynamic table.

This kind of entry is usually used to create library dependency.

Member Function Documentation

◆ accept()

void LIEF::ELF::DynamicEntryLibrary::accept ( Visitor visitor) const
overridevirtual

Reimplemented from LIEF::ELF::DynamicEntry.

◆ print()

std::ostream & LIEF::ELF::DynamicEntryLibrary::print ( std::ostream &  os) const
overridevirtual

Reimplemented from LIEF::ELF::DynamicEntry.


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