Class that represents the COFF header. It is subclassed by LIEF::COFF::RegularHeader and LIEF::COFF::BigObjHeader for normal vs /bigobj
files.
More...
#include <Header.hpp>
Class that represents the COFF header. It is subclassed by LIEF::COFF::RegularHeader and LIEF::COFF::BigObjHeader for normal vs /bigobj
files.
◆ MACHINE_TYPES
The different architectures (mirrored from PE)
◆ KIND
Enumerator |
---|
UNKNOWN | |
REGULAR | |
BIGOBJ | |
◆ Header() [1/4]
LIEF::COFF::Header::Header |
( |
| ) |
|
|
default |
◆ Header() [2/4]
LIEF::COFF::Header::Header |
( |
KIND | kind | ) |
|
|
inline |
◆ Header() [3/4]
LIEF::COFF::Header::Header |
( |
const Header & | | ) |
|
|
default |
◆ Header() [4/4]
LIEF::COFF::Header::Header |
( |
Header && | | ) |
|
|
default |
◆ ~Header()
virtual LIEF::COFF::Header::~Header |
( |
| ) |
|
|
virtualdefault |
◆ as()
template<class T >
const T * LIEF::COFF::Header::as |
( |
| ) |
const |
|
inline |
◆ clone()
virtual std::unique_ptr< Header > LIEF::COFF::Header::clone |
( |
| ) |
const |
|
pure virtual |
◆ create() [1/2]
Create a header from the given stream.
◆ create() [2/2]
◆ kind()
KIND LIEF::COFF::Header::kind |
( |
| ) |
const |
|
inline |
◆ machine() [1/2]
The machine type targeted by this COFF.
◆ machine() [2/2]
◆ nb_sections() [1/2]
uint32_t LIEF::COFF::Header::nb_sections |
( |
| ) |
const |
|
inline |
◆ nb_sections() [2/2]
void LIEF::COFF::Header::nb_sections |
( |
uint32_t | value | ) |
|
|
inline |
◆ nb_symbols() [1/2]
uint32_t LIEF::COFF::Header::nb_symbols |
( |
| ) |
const |
|
inline |
Number of symbols (including auxiliary symbols)
◆ nb_symbols() [2/2]
void LIEF::COFF::Header::nb_symbols |
( |
uint32_t | value | ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ pointerto_symbol_table() [1/2]
uint32_t LIEF::COFF::Header::pointerto_symbol_table |
( |
| ) |
const |
|
inline |
Offset of the symbols table.
◆ pointerto_symbol_table() [2/2]
void LIEF::COFF::Header::pointerto_symbol_table |
( |
uint32_t | value | ) |
|
|
inline |
◆ timedatestamp() [1/2]
uint32_t LIEF::COFF::Header::timedatestamp |
( |
| ) |
const |
|
inline |
Timestamp when the COFF has been generated.
◆ timedatestamp() [2/2]
void LIEF::COFF::Header::timedatestamp |
( |
uint32_t | value | ) |
|
|
inline |
◆ to_string()
virtual std::string LIEF::COFF::Header::to_string |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following file: