15#ifndef LIEF_PE_LOAD_CONFIGURATION_DYNAMIC_RELOCATION_FUNC_OVERRIDE_H
16#define LIEF_PE_LOAD_CONFIGURATION_DYNAMIC_RELOCATION_FUNC_OVERRIDE_H
57 std::vector<std::unique_ptr<FunctionOverrideInfo>>;
76 std::unique_ptr<DynamicFixup>
clone()
const override {
77 return std::make_unique<FunctionOverride>(*
this);
82 return overriding_info_;
86 return overriding_info_;
109 const image_bdd_info_t*
136 std::vector<image_bdd_info_t> bdd_info_;
@ FUNCTION_OVERRIDE
If DynamicRelocation::symbol is set to IMAGE_DYNAMIC_RELOCATION_FUNCTION_OVERRIDE.
Definition DynamicFixup.hpp:48
KIND kind() const
Encoding of the fixups.
Definition DynamicFixup.hpp:74
Definition FunctionOverrideInfo.hpp:33
it_const_func_overriding_info func_overriding_info() const
Definition FunctionOverride.hpp:85
~FunctionOverride() override
const_ref_iterator< const bdd_info_list_t & > it_const_bdd_info
Definition FunctionOverride.hpp:66
std::unique_ptr< DynamicFixup > clone() const override
Definition FunctionOverride.hpp:76
std::string to_string() const override
FunctionOverride(const FunctionOverride &)
ref_iterator< bdd_info_list_t & > it_bdd_info
Definition FunctionOverride.hpp:65
it_func_overriding_info func_overriding_info()
Iterator over the overriding info.
Definition FunctionOverride.hpp:81
FunctionOverride & operator=(const FunctionOverride &)
image_bdd_info_t * find_bdd_info(const FunctionOverrideInfo &info)
Find the IMAGE_BDD_INFO associated with the given info.
const_ref_iterator< const func_overriding_info_t &, const FunctionOverrideInfo * > it_const_func_overriding_info
Definition FunctionOverride.hpp:60
it_const_bdd_info bdd_info() const
Definition FunctionOverride.hpp:94
static bool classof(const DynamicFixup *fixup)
Definition FunctionOverride.hpp:114
const image_bdd_info_t * find_bdd_info(const FunctionOverrideInfo &info) const
Definition FunctionOverride.hpp:110
std::vector< image_bdd_info_t > bdd_info_list_t
Definition FunctionOverride.hpp:64
FunctionOverride(FunctionOverride &&)
FunctionOverride & operator=(FunctionOverride &&)
it_bdd_info bdd_info()
Iterator over the BDD info.
Definition FunctionOverride.hpp:90
const image_bdd_info_t * find_bdd_info(uint32_t offset) const
Definition FunctionOverride.hpp:105
ref_iterator< func_overriding_info_t &, FunctionOverrideInfo * > it_func_overriding_info
Definition FunctionOverride.hpp:58
std::vector< std::unique_ptr< FunctionOverrideInfo > > func_overriding_info_t
Definition FunctionOverride.hpp:56
image_bdd_info_t * find_bdd_info(uint32_t offset)
Find the IMAGE_BDD_INFO at the given offset.
Main interface to parse PE binaries. In particular, the static Parser::parse functions should be used...
Definition PE/Parser.hpp:53
Definition SpanStream.hpp:31
Opaque structure that is used by LIEF to avoid writing result<void> f(...). Instead,...
Definition errors.hpp:118
Iterator which returns reference on container's values.
Definition iterators.hpp:120
#define LIEF_LIFETIMEBOUND
Definition compiler_attributes.hpp:72
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:31
LIEF namespace.
Definition Abstract/Binary.hpp:41
ref_iterator< CT, U, typename decay_t< CT >::const_iterator > const_ref_iterator
Iterator which returns a const ref on container's values.
Definition iterators.hpp:385
Mirror IMAGE_BDD_DYNAMIC_RELOCATION.
Definition FunctionOverride.hpp:37
uint16_t left
Definition FunctionOverride.hpp:38
uint16_t right
Definition FunctionOverride.hpp:39
uint32_t value
Definition FunctionOverride.hpp:40
Mirror IMAGE_BDD_INFO.
Definition FunctionOverride.hpp:44
uint32_t original_offset
Definition FunctionOverride.hpp:47
uint32_t version
Definition FunctionOverride.hpp:45
std::vector< uint8_t > payload
If version != 1.
Definition FunctionOverride.hpp:53
std::vector< image_bdd_dynamic_relocation_t > relocations
If version == 1.
Definition FunctionOverride.hpp:50
uint32_t original_size
Definition FunctionOverride.hpp:46
#define LIEF_API
Definition visibility.h:44
#define LIEF_LOCAL
Definition visibility.h:45