LIEF: Library to Instrument Executable Formats Version 0.16.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
16#ifndef LIEF_ELF_SYSV_HASH_H
17#define LIEF_ELF_SYSV_HASH_H
47 SysvHash&
operator=(
const SysvHash& copy) =
default;
56 return buckets_.size();
61 return chains_.size();
63 const std::vector<uint32_t>&
buckets()
const {
68 const std::vector<uint32_t>&
chains()
const {
78 void accept(Visitor& visitor)
const override;
83 std::vector<uint32_t> buckets_;
84 std::vector<uint32_t> chains_;
Class which represents an ELF binary.
Definition ELF/Binary.hpp:59
Class which takes an ELF::Binary object and reconstructs a valid binary.
Definition ELF/Builder.hpp:48
Class which parses and transforms an ELF file into a ELF::Binary object.
Definition ELF/Parser.hpp:45
Class which represents the SYSV hash for the symbols resolution.
Definition SysvHash.hpp:39
void accept(Visitor &visitor) const override
~SysvHash() override=default
SysvHash(SysvHash &&)=default
uint32_t nbucket() const
Return the number of buckets used.
Definition SysvHash.hpp:55
SysvHash & operator=(const SysvHash ©)=default
void nchain(uint32_t nb)
Definition SysvHash.hpp:74
SysvHash(const SysvHash ©)=default
uint32_t nchain() const
Return the number of chain used.
Definition SysvHash.hpp:60
const std::vector< uint32_t > & chains() const
Chains values.
Definition SysvHash.hpp:70
friend std::ostream & operator<<(std::ostream &os, const SysvHash &sysvhash)
SysvHash & operator=(SysvHash &&)=default
const std::vector< uint32_t > & buckets() const
Buckets values.
Definition SysvHash.hpp:65
Namespace related to the LIEF's ELF module.
Definition Abstract/Header.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41