LIEF: Library to Instrument Executable Formats Version
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
LIEF::ELF::DynamicEntryFlags Class Reference
Inheritance diagram for LIEF::ELF::DynamicEntryFlags:
Inheritance graph
[legend]
Collaboration diagram for LIEF::ELF::DynamicEntryFlags:
Collaboration graph
[legend]

Public Types

using flags_list_t = std::set< uint32_t >
 
- 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 > > >
 

Public Member Functions

DynamicEntryFlagsoperator= (const DynamicEntryFlags &)
 
 DynamicEntryFlags (const DynamicEntryFlags &)
 
bool has (DYNAMIC_FLAGS f) const
 If the current entry has the given DYNAMIC_FLAGS.
 
bool has (DYNAMIC_FLAGS_1 f) const
 If the current entry has the given DYNAMIC_FLAGS_1.
 
flags_list_t flags () const
 Return flags as a list of integers.
 
void add (DYNAMIC_FLAGS f)
 Add the given DYNAMIC_FLAGS.
 
void add (DYNAMIC_FLAGS_1 f)
 Add the given DYNAMIC_FLAGS_1.
 
void remove (DYNAMIC_FLAGS f)
 Remove the given DYNAMIC_FLAGS.
 
void remove (DYNAMIC_FLAGS_1 f)
 Remove the given DYNAMIC_FLAGS_1.
 
DynamicEntryFlagsoperator+= (DYNAMIC_FLAGS f)
 
DynamicEntryFlagsoperator+= (DYNAMIC_FLAGS_1 f)
 
DynamicEntryFlagsoperator-= (DYNAMIC_FLAGS f)
 
DynamicEntryFlagsoperator-= (DYNAMIC_FLAGS_1 f)
 
void accept (Visitor &visitor) const override
 Method so that the visitor can visit us.
 
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)
 

Member Function Documentation

◆ accept()

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

Method so that the visitor can visit us.

Reimplemented from LIEF::ELF::DynamicEntry.

◆ print()

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

Reimplemented from LIEF::ELF::DynamicEntry.


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