Go to the documentation of this file.
16#ifndef LIEF_PE_LOAD_CONFIGURATION_DYNAMIC_RELOCATION_V1_H
17#define LIEF_PE_LOAD_CONFIGURATION_DYNAMIC_RELOCATION_V1_H
40 DynamicRelocationV1&
operator=(
const DynamicRelocationV1&) =
default;
43 DynamicRelocationV1&
operator=(DynamicRelocationV1&&) =
default;
45 std::unique_ptr<DynamicRelocation>
clone()
const override {
46 return std::unique_ptr<DynamicRelocationV1>(
new DynamicRelocationV1(*
this));
51 static bool classof(
const DynamicRelocation* reloc) {
59 std::unique_ptr<DynamicRelocationV1> parse(Parser& ctx, BinaryStream& strm);
Class that is used to a read stream of data from different sources.
Definition BinaryStream.hpp:33
This class represents a dynamic relocation (IMAGE_DYNAMIC_RELOCATION32 or IMAGE_DYNAMIC_RELOCATION64)
Definition DynamicRelocationV1.hpp:33
DynamicRelocationV1(const DynamicRelocationV1 &)=default
DynamicRelocationV1 & operator=(const DynamicRelocationV1 &)=default
DynamicRelocationV1(DynamicRelocationV1 &&)=default
DynamicRelocationV1()
Definition DynamicRelocationV1.hpp:35
std::string to_string() const override
std::unique_ptr< DynamicRelocation > clone() const override
Definition DynamicRelocationV1.hpp:45
~DynamicRelocationV1() override=default
DynamicRelocationV1 & operator=(DynamicRelocationV1 &&)=default
static bool classof(const DynamicRelocation *reloc)
Definition DynamicRelocationV1.hpp:51
This is the base class for any IMAGE_DYNAMIC_RELOCATION32, IMAGE_DYNAMIC_RELOCATION32_V2,...
Definition DynamicRelocationBase.hpp:33
uint32_t version() const
Version of the structure.
Definition DynamicRelocationBase.hpp:76
Main interface to parse PE binaries. In particular the static functions: Parser::parse should be used...
Definition PE/Parser.hpp:52
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41
#define LIEF_LOCAL
Definition visibility.h:42