LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
16#ifndef LIEF_COFF_HEADER_H
17#define LIEF_COFF_HEADER_H
44 static std::unique_ptr<Header>
create(BinaryStream& stream);
47 static std::unique_ptr<Header>
create(BinaryStream& stream, KIND kind);
60 virtual std::unique_ptr<Header>
clone()
const = 0;
80 return pointerto_symbol_table_;
90 return timedatestamp_;
102 pointerto_symbol_table_ = value;
110 timedatestamp_ = value;
121 const T*
as()
const {
122 static_assert(std::is_base_of<Header, T>::value,
123 "Require Header inheritance");
124 if (T::classof(
this)) {
125 return static_cast<const T*
>(
this);
133 KIND kind_ = KIND::UNKNOWN;
134 MACHINE_TYPES machine_ = MACHINE_TYPES::UNKNOWN;
135 uint32_t nb_sections_ = 0;
136 uint32_t pointerto_symbol_table_ = 0;
137 uint32_t nb_symbols_ = 0;
138 uint32_t timedatestamp_ = 0;
Class that is used to a read stream of data from different sources.
Definition BinaryStream.hpp:33
Definition AuxiliarySymbol.hpp:29
const char * to_string(AuxiliarySectionDefinition::COMDAT_SELECTION e)
const char * to_string(CODE_PAGES e)
LIEF namespace.
Definition Abstract/Binary.hpp:39
#define LIEF_API
Definition visibility.h:41