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

Class which represents the SYSV hash for the symbols resolution. More...

#include <SysvHash.hpp>

Inheritance diagram for LIEF::ELF::SysvHash:
Collaboration diagram for LIEF::ELF::SysvHash:

Public Member Functions

 SysvHash ()=default
 
SysvHashoperator= (const SysvHash &copy)=default
 
 SysvHash (const SysvHash &copy)=default
 
SysvHashoperator= (SysvHash &&)=default
 
 SysvHash (SysvHash &&)=default
 
 ~SysvHash () override=default
 
uint32_t nbucket () const
 Return the number of buckets used.
 
uint32_t nchain () const
 Return the number of chain used.
 
const std::vector< uint32_t > & buckets () const
 Buckets values.
 
const std::vector< uint32_t > & chains () const
 Chains values.
 
void nchain (uint32_t nb)
 
void accept (Visitor &visitor) const override
 
- 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>>>
 

Detailed Description

Constructor & Destructor Documentation

◆ SysvHash() [1/3]

LIEF::ELF::SysvHash::SysvHash ( )
default

◆ SysvHash() [2/3]

LIEF::ELF::SysvHash::SysvHash ( const SysvHash & copy)
default

◆ SysvHash() [3/3]

LIEF::ELF::SysvHash::SysvHash ( SysvHash && )
default

◆ ~SysvHash()

LIEF::ELF::SysvHash::~SysvHash ( )
overridedefault

Member Function Documentation

◆ accept()

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

Implements LIEF::Object.

◆ buckets()

const std::vector< uint32_t > & LIEF::ELF::SysvHash::buckets ( ) const
inline

Buckets values.

◆ chains()

const std::vector< uint32_t > & LIEF::ELF::SysvHash::chains ( ) const
inline

Chains values.

◆ nbucket()

uint32_t LIEF::ELF::SysvHash::nbucket ( ) const
inline

Return the number of buckets used.

◆ nchain() [1/2]

uint32_t LIEF::ELF::SysvHash::nchain ( ) const
inline

Return the number of chain used.

◆ nchain() [2/2]

void LIEF::ELF::SysvHash::nchain ( uint32_t nb)
inline

◆ operator=() [1/2]

SysvHash & LIEF::ELF::SysvHash::operator= ( const SysvHash & copy)
default

◆ operator=() [2/2]

SysvHash & LIEF::ELF::SysvHash::operator= ( SysvHash && )
default

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