Go to the documentation of this file.
16#ifndef LIEF_PE_LOAD_CONFIGURATION_DYNAMIC_FIXUP_CONTROL_TRANSFER_H
17#define LIEF_PE_LOAD_CONFIGURATION_DYNAMIC_FIXUP_CONTROL_TRANSFER_H
30 static constexpr auto NO_IAT_INDEX = 0x7fff;
31 struct LIEF_API reloc_entry_t { uint32_t rva = 0;
39 uint16_t iat_index = NO_IAT_INDEX;
47 std::ostream&
operator<<(std::ostream& os,
const reloc_entry_t& entry)
54 using reloc_entries_t = std::vector<reloc_entry_t>;
55 using it_relocations = ref_iterator<reloc_entries_t&>;
56 using it_const_relocations = const_ref_iterator<const reloc_entries_t&>;
59 DynamicFixup(KIND::GUARD_IMPORT_CONTROL_TRANSFER)
63 DynamicFixupControlTransfer&
operator=(
const DynamicFixupControlTransfer&) =
default;
66 DynamicFixupControlTransfer&
operator=(DynamicFixupControlTransfer&&) =
default;
68 std::unique_ptr<DynamicFixup>
clone()
const override {
69 return std::unique_ptr<DynamicFixupControlTransfer>(
new DynamicFixupControlTransfer(*
this));