|
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 Section. | |
| span< const uint8_t > | content () const |
| Raw content (bytes) referenced by this data directory. | |
| span< uint8_t > | content () |
| 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) |
| Object (Object &&other) noexcept=default | |
| Object & | operator= (Object &&other) noexcept=default |
| 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 |
Referenced by content(), DataDirectory(), DataDirectory(), operator<<, operator=(), and operator=().
| LIEF::PE::DataDirectory::DataDirectory | ( | const details::pe_data_directory & | header, |
| TYPES | type ) |
References type().
|
default |
References DataDirectory().
|
defaultnoexcept |
References DataDirectory().
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
References LIEF_API.
| span< uint8_t > LIEF::PE::DataDirectory::content | ( | ) |
|
inline |
Raw content (bytes) referenced by this data directory.
References content(), and DataDirectory().
Referenced by content().
|
inline |
|
default |
References DataDirectory().
|
defaultnoexcept |
References DataDirectory().
|
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.
Referenced by size().
|
inline |
References size().
|
inline |
Type of the data directory.
Referenced by DataDirectory(), and DataDirectory().
|
staticconstexpr |