Go to the documentation of this file.
16#ifndef LIEF_PE_LOAD_CONFIGURATION_DYNAMIC_FIXUP_GENERIC_H
17#define LIEF_PE_LOAD_CONFIGURATION_DYNAMIC_FIXUP_GENERIC_H
30 using relocations_t = std::vector<std::unique_ptr<Relocation>>;
31 using it_relocations = ref_iterator<relocations_t&, Relocation*>;
32 using it_const_relocations = const_ref_iterator<const relocations_t&, Relocation*>;
37 DynamicFixupGeneric&
operator=(
const DynamicFixupGeneric&);
40 DynamicFixupGeneric&
operator=(DynamicFixupGeneric&&);
42 std::unique_ptr<DynamicFixup>
clone()
const override {
43 return std::unique_ptr<DynamicFixupGeneric>(
new DynamicFixupGeneric(*
this));
55 static bool classof(
const DynamicFixup* fixup) {
56 return fixup->
kind() == KIND::GENERIC;
65 std::unique_ptr<DynamicFixupGeneric> parse(Parser& ctx, SpanStream& strm);
68 relocations_t relocations_;
This class represents a generic entry where fixups are regular relocations (LIEF::PE::Relocation)
Definition DynamicFixupGeneric.hpp:28
DynamicFixupGeneric & operator=(const DynamicFixupGeneric &)
DynamicFixupGeneric(const DynamicFixupGeneric &)
DynamicFixupGeneric & operator=(DynamicFixupGeneric &&)
static bool classof(const DynamicFixup *fixup)
Definition DynamicFixupGeneric.hpp:55
it_relocations relocations()
Iterator over the relocations.
Definition DynamicFixupGeneric.hpp:47
std::string to_string() const override
it_const_relocations relocations() const
Definition DynamicFixupGeneric.hpp:51
~DynamicFixupGeneric() override
std::unique_ptr< DynamicFixup > clone() const override
Definition DynamicFixupGeneric.hpp:42
DynamicFixupGeneric(DynamicFixupGeneric &&)
This is the base class for any fixups located in DynamicRelocation.
Definition DynamicFixup.hpp:34
KIND kind() const
Encoding of the fixups.
Definition DynamicFixup.hpp:73
Class which represents the Base Relocation Block We usually find this structure in the ....
Definition PE/Relocation.hpp:42
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