|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
This class represents the COFF header for non-bigobj. More...
#include <RegularHeader.hpp>


Public Member Functions | |
| RegularHeader () | |
| RegularHeader & | operator= (const RegularHeader &)=default |
| RegularHeader (const RegularHeader &)=default | |
| RegularHeader & | operator= (RegularHeader &&)=default |
| RegularHeader (RegularHeader &&)=default | |
| std::unique_ptr< Header > | clone () const override |
| uint16_t | sizeof_optionalheader () const |
| The size of the optional header that follows this header (should be 0). | |
| uint16_t | characteristics () const |
| Characteristics. | |
| void | sizeof_optionalheader (uint16_t value) |
| void | characteristics (uint16_t value) |
| ~RegularHeader () override=default | |
| std::string | to_string () const override |
| Public Member Functions inherited from LIEF::COFF::Header | |
| Header ()=default | |
| Header (KIND kind) | |
| Header & | operator= (const Header &)=default |
| Header (const Header &)=default | |
| Header & | operator= (Header &&)=default |
| Header (Header &&)=default | |
| KIND | kind () const |
| The type of this header: whether it is regular or using the /bigobj format. | |
| MACHINE_TYPES | machine () const |
| The machine type targeted by this COFF. | |
| uint32_t | nb_sections () const |
| The number of sections. | |
| uint32_t | pointerto_symbol_table () const |
| Offset of the symbols table. | |
| uint32_t | nb_symbols () const |
| Number of symbols (including auxiliary symbols). | |
| uint32_t | timedatestamp () const |
| Timestamp when the COFF has been generated. | |
| void | machine (MACHINE_TYPES machine) |
| void | nb_sections (uint32_t value) |
| void | pointerto_symbol_table (uint32_t value) |
| void | nb_symbols (uint32_t value) |
| void | timedatestamp (uint32_t value) |
| template<class T> | |
| const T * | as () const |
| virtual | ~Header ()=default |
Static Public Member Functions | |
| static std::unique_ptr< RegularHeader > | create (BinaryStream &stream) |
| Create a RegularHeader from the given stream. | |
| static bool | classof (const Header *header) |
| Static Public Member Functions inherited from LIEF::COFF::Header | |
| static std::unique_ptr< Header > | create (BinaryStream &stream) |
| Create a header from the given stream. | |
| static std::unique_ptr< Header > | create (BinaryStream &stream, KIND kind) |
Additional Inherited Members | |
| Public Types inherited from LIEF::COFF::Header | |
| enum class | KIND { UNKNOWN = 0 , REGULAR , BIGOBJ } |
| using | MACHINE_TYPES = LIEF::PE::Header::MACHINE_TYPES |
| The different architectures (mirrored from PE). | |
This class represents the COFF header for non-bigobj.
|
inline |
References LIEF::COFF::Header::Header(), and LIEF::COFF::Header::REGULAR.
Referenced by clone(), operator=(), operator=(), RegularHeader(), and RegularHeader().
|
default |
References RegularHeader().
|
default |
References RegularHeader().
|
overridedefault |
|
inline |
Characteristics.
|
inline |
|
inlinestatic |
|
inlineoverridevirtual |
Implements LIEF::COFF::Header.
References RegularHeader().
|
static |
Create a RegularHeader from the given stream.
|
default |
References RegularHeader().
|
default |
References RegularHeader().
|
inline |
The size of the optional header that follows this header (should be 0).
|
inline |
|
overridevirtual |
Reimplemented from LIEF::COFF::Header.