43 enum class BASE_TYPES {
53 ARM_MOV32A = 5 + 0x101,
54 ARM_MOV32 = 5 + 0x102,
55 RISCV_HI20 = 5 + 0x103,
60 ARM_MOV32T = 7 + 0x201,
61 THUMB_MOV32 = 7 + 0x202,
62 RISCV_LOW12I = 7 + 0x203,
67 MIPS_JMPADDR16 = 9 + 0x300,
88 void address(uint64_t address)
override;
91 size_t size()
const override;
93 void size(
size_t size)
override;
110 void data(uint16_t data);
112 void position(uint16_t position) {
113 position_ = position;
116 void type(BASE_TYPES type) {
122 LIEF_API
friend std::ostream& operator<<(std::ostream& os,
const RelocationEntry& entry);
127 uint16_t position_ = 0;
128 BASE_TYPES type_ = BASE_TYPES::ABS;
Class which represents an entry of the PE relocation table.
Definition RelocationEntry.hpp:36
size_t size() const override
The size of the relocatable pointer.
uint16_t position() const
Offset relative to Relocation::virtual_address where the relocation occurs.
Definition RelocationEntry.hpp:101
uint16_t data() const
Raw data of the relocation:
uint64_t address() const override
The address of the relocation.
void accept(Visitor &visitor) const override
Method so that the visitor can visit us.
BASE_TYPES type() const
Type of the relocation.
Definition RelocationEntry.hpp:106