Go to the documentation of this file.
16#ifndef LIEF_COFF_REGULAR_HEADER_H
17#define LIEF_COFF_REGULAR_HEADER_H
31 static std::unique_ptr<RegularHeader>
create(BinaryStream& stream);
35 RegularHeader&
operator=(
const RegularHeader&) =
default;
38 RegularHeader&
operator=(RegularHeader&&) =
default;
41 std::unique_ptr<Header>
clone()
const override {
42 return std::unique_ptr<Header>(
new RegularHeader(*
this));
47 return sizeof_optionalheader_;
52 return characteristics_;
56 sizeof_optionalheader_ = value;
60 characteristics_ = value;
63 static bool classof(
const Header* header) {
64 return header->
kind() == Header::KIND::REGULAR;
72 uint16_t sizeof_optionalheader_ = 0;
73 uint16_t characteristics_ = 0;