LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Class that represents a PE data directory entry. More...
#include <DataDirectory.hpp>
Public Types | |
enum class | TYPES : uint32_t { EXPORT_TABLE = 0 , IMPORT_TABLE , RESOURCE_TABLE , EXCEPTION_TABLE , CERTIFICATE_TABLE , BASE_RELOCATION_TABLE , DEBUG_DIR , ARCHITECTURE , GLOBAL_PTR , TLS_TABLE , LOAD_CONFIG_TABLE , BOUND_IMPORT , IAT , DELAY_IMPORT_DESCRIPTOR , CLR_RUNTIME_HEADER , RESERVED , UNKNOWN } |
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 | |
DataDirectory ()=default | |
DataDirectory (TYPES type) | |
DataDirectory (const details::pe_data_directory &header, TYPES type) | |
DataDirectory (const DataDirectory &other)=default | |
DataDirectory & | operator= (const DataDirectory &other)=default |
DataDirectory (DataDirectory &&other) noexcept=default | |
DataDirectory & | operator= (DataDirectory &&other) noexcept=default |
~DataDirectory () override=default | |
uint32_t | RVA () const |
The relative virtual address of the content of this data directory. | |
uint32_t | size () const |
The size of the content. | |
bool | has_section () const |
Check if the content of this data directory is associated with a PE Cection. | |
Section * | section () |
Section associated with the DataDirectory. | |
const Section * | section () const |
TYPES | type () const |
Type of the data directory. | |
void | size (uint32_t size) |
void | RVA (uint32_t rva) |
void | accept (Visitor &visitor) const override |
Public Member Functions inherited from LIEF::Object | |
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 |
virtual | ~Object () |
Static Public Attributes | |
static constexpr size_t | DEFAULT_NB = 16 |
Class that represents a PE data directory entry.
|
strong |
|
default |
|
inline |
LIEF::PE::DataDirectory::DataDirectory | ( | const details::pe_data_directory & | header, |
TYPES | type ) |
|
default |
|
defaultnoexcept |
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
|
inline |
Check if the content of this data directory is associated with a PE Cection.
|
default |
|
defaultnoexcept |
|
inline |
The relative virtual address of the content of this data directory.
|
inline |
|
inline |
Section associated with the DataDirectory.
|
inline |
|
inline |
The size of the content.
|
inline |
|
inline |
Type of the data directory.
|
staticconstexpr |