[go: up one dir, main page]

Module relocation

Source

Structs§

Relocation
A COFF relocation.
RelocationBlock
Represents a PE (Portable Executable) base relocation block.
RelocationBlockIterator
RelocationData
Represents a PE base relocation directory data.
RelocationWord
Represents a single relocation entry within a PE base relocation block.
RelocationWordIterator
Relocations
An iterator for COFF relocations.

Constants§

COFF_RELOCATION_SIZE
Size of a single COFF relocation.
IMAGE_REL_AMD64_ABSOLUTE
The relocation is ignored.
IMAGE_REL_AMD64_ADDR32
The 32-bit VA of the relocation target.
IMAGE_REL_AMD64_ADDR64
The 64-bit VA of the relocation target.
IMAGE_REL_AMD64_ADDR32NB
The 32-bit address without an image base (RVA).
IMAGE_REL_AMD64_PAIR
A pair that must immediately follow every span-dependent value.
IMAGE_REL_AMD64_REL32
The 32-bit relative address from the byte following the relocation.
IMAGE_REL_AMD64_REL32_1
The 32-bit address relative to byte distance 1 from the relocation.
IMAGE_REL_AMD64_REL32_2
The 32-bit address relative to byte distance 2 from the relocation.
IMAGE_REL_AMD64_REL32_3
The 32-bit address relative to byte distance 3 from the relocation.
IMAGE_REL_AMD64_REL32_4
The 32-bit address relative to byte distance 4 from the relocation.
IMAGE_REL_AMD64_REL32_5
The 32-bit address relative to byte distance 5 from the relocation.
IMAGE_REL_AMD64_SECREL
The 32-bit offset of the target from the beginning of its section.
IMAGE_REL_AMD64_SECREL7
A 7-bit unsigned offset from the base of the section that contains the target.
IMAGE_REL_AMD64_SECTION
The 16-bit section index of the section that contains the target.
IMAGE_REL_AMD64_SREL32
A 32-bit signed span-dependent value emitted into the object.
IMAGE_REL_AMD64_SSPAN32
A 32-bit signed span-dependent value that is applied at link time.
IMAGE_REL_AMD64_TOKEN
CLR tokens.
IMAGE_REL_ARM64_ABSOLUTE
The relocation is ignored.
IMAGE_REL_ARM64_ADDR32
32-bit address
IMAGE_REL_ARM64_ADDR64
64-bit address
IMAGE_REL_ARM64_ADDR32NB
32-bit address without an image base
IMAGE_REL_ARM64_BRANCH19
19-bit branch
IMAGE_REL_ARM64_BRANCH26
26-bit branch
IMAGE_REL_ARM64_PAGEBASE_REL21
Page-relative 21-bit offset
IMAGE_REL_ARM64_PAGEOFFSET_12A
12-bit absolute page offset (addend)
IMAGE_REL_ARM64_PAGEOFFSET_12L
12-bit absolute page offset (logical)
IMAGE_REL_ARM64_REL21
21-bit offset from page base
IMAGE_REL_ARM64_SECREL
32-bit offset from section base
IMAGE_REL_ARM64_SECREL_HIGH12A
High 12 bits of section-relative address (addend)
IMAGE_REL_ARM64_SECREL_LOW12A
Low 12 bits of section-relative address (addend)
IMAGE_REL_ARM64_SECREL_LOW12L
Low 12 bits of section-relative address (logical)
IMAGE_REL_ARM64_SECTION
Section index
IMAGE_REL_ARM64_TOKEN
CLR token
IMAGE_REL_ARM_ABSOLUTE
The relocation is ignored.
IMAGE_REL_ARM_ADDR
32-bit address
IMAGE_REL_ARM_ADDR32NB
32-bit address without an image base
IMAGE_REL_ARM_BLX11
11-bit BLX
IMAGE_REL_ARM_BLX24
24-bit BLX (branch with link and exchange)
IMAGE_REL_ARM_BLX23T
Thumb mode 23-bit BLX
IMAGE_REL_ARM_BRANCH11
11-bit branch
IMAGE_REL_ARM_BRANCH24
24-bit branch
IMAGE_REL_ARM_BRANCH20T
Thumb mode 20-bit branch
IMAGE_REL_ARM_BRANCH24T
Thumb mode 24-bit branch
IMAGE_REL_ARM_GPREL7
7-bit GP-relative addressing
IMAGE_REL_ARM_GPREL12
12-bit GP-relative addressing
IMAGE_REL_ARM_MOV32A
MOVW/MOVT (immediate load for addresses)
IMAGE_REL_ARM_MOV32T
MOVW/MOVT (thumb mode immediate load)
IMAGE_REL_ARM_SECREL
32-bit offset from section base
IMAGE_REL_ARM_SECTION
Section index
IMAGE_REL_ARM_TOKEN
CLR token
IMAGE_REL_BASED_ABSOLUTE
Absolute relocation. No modification is necessary.
IMAGE_REL_BASED_ARM_MOV32
ARM MOV32 relocation (shares the same value as MIPS_JMPADDR).
IMAGE_REL_BASED_ARM_MOV32A
ARM MOV32A relocation (shares the same value as MIPS_JMPADDR).
IMAGE_REL_BASED_ARM_MOV32T
ARM MOV32T relocation (shares the same value as REL).
IMAGE_REL_BASED_DIR64
Relocation based on a 64-bit address.
IMAGE_REL_BASED_HIGH
Relocation based on the high 16 bits of the address.
IMAGE_REL_BASED_HIGH3ADJ
Relocation based on the top 16 bits of a 48-bit address.
IMAGE_REL_BASED_HIGHADJ
Relocation based on the adjusted high 16 bits of the address.
IMAGE_REL_BASED_HIGHLOW
Relocation based on the entire 32-bit address.
IMAGE_REL_BASED_IA64_IMM64
IA64 immediate 64-bit relocation (shares the same value as MIPS_JMPADDR16).
IMAGE_REL_BASED_LOW
Relocation based on the low 16 bits of the address.
IMAGE_REL_BASED_MIPS_JMPADDR
MIPS jump address relocation.
IMAGE_REL_BASED_MIPS_JMPADDR16
MIPS 16-bit jump address relocation.
IMAGE_REL_BASED_REL
Relocation relative to the base.
IMAGE_REL_BASED_SECTION
Relocation based on the section.
IMAGE_REL_BASED_THUMB_MOV32
Thumb MOV32 relocation (shares the same value as REL).
IMAGE_REL_I386_ABSOLUTE
The relocation is ignored.
IMAGE_REL_I386_DIR16
Not supported.
IMAGE_REL_I386_DIR32
The target’s 32-bit VA.
IMAGE_REL_I386_DIR32NB
The target’s 32-bit RVA.
IMAGE_REL_I386_REL16
Not supported.
IMAGE_REL_I386_REL32
The 32-bit relative displacement to the target.
IMAGE_REL_I386_SECREL
The 32-bit offset of the target from the beginning of its section.
IMAGE_REL_I386_SECREL7
A 7-bit offset from the base of the section that contains the target.
IMAGE_REL_I386_SECTION
The 16-bit section index of the section that contains the target.
IMAGE_REL_I386_SEG12
Not supported.
IMAGE_REL_I386_TOKEN
The CLR token.
IMAGE_REL_IA64_ABSOLUTE
The relocation is ignored.
IMAGE_REL_IA64_ADDEND
Offset with an addend
IMAGE_REL_IA64_DIR
Direct 32-bit address
IMAGE_REL_IA64_DIR64
Direct 64-bit address
IMAGE_REL_IA64_DIR32NB
32-bit address without an image base
IMAGE_REL_IA64_GPREL22
GP-relative 22-bit offset
IMAGE_REL_IA64_GPREL32
32-bit GP-relative offset
IMAGE_REL_IA64_IMM14
Immediate 14-bit offset
IMAGE_REL_IA64_IMM22
Immediate 22-bit offset
IMAGE_REL_IA64_IMM64
Immediate 64-bit offset
IMAGE_REL_IA64_IMMGPREL64
GP-relative 64-bit immediate offset
IMAGE_REL_IA64_LTOFF22
22-bit offset from GP-relative label
IMAGE_REL_IA64_LTOFF64
GP-relative 64-bit offset
IMAGE_REL_IA64_PCREL21B
PC-relative 21-bit branch (bundle format)
IMAGE_REL_IA64_PCREL21F
PC-relative 21-bit branch (full format)
IMAGE_REL_IA64_PCREL21M
PC-relative 21-bit branch (mixed format)
IMAGE_REL_IA64_PCREL60B
PC-relative 60-bit offset (bundle format)
IMAGE_REL_IA64_PCREL60F
PC-relative 60-bit offset (full format)
IMAGE_REL_IA64_PCREL60I
PC-relative 60-bit offset (immediate format)
IMAGE_REL_IA64_PCREL60M
PC-relative 60-bit offset (mixed format)
IMAGE_REL_IA64_PCREL60X
PC-relative 60-bit offset (extension format)
IMAGE_REL_IA64_SECREL
Section-relative offset
IMAGE_REL_IA64_SECREL22
Section-relative 22-bit offset
IMAGE_REL_IA64_SECREL64I
Section-relative 64-bit offset with immediate
IMAGE_REL_IA64_SECTION
Section index
IMAGE_REL_IA64_SREL14
14-bit section-relative offset
IMAGE_REL_IA64_SREL22
22-bit section-relative offset
IMAGE_REL_IA64_SREL32
32-bit section-relative offset
IMAGE_REL_IA64_TOKEN
CLR token
IMAGE_REL_IA64_UREL32
32-bit user-defined offset
RELOCATION_BLOCK_SIZE
Raw size of RelocationBlock