Enum RelocationType
- Namespace
- AsmResolver.PE.Relocations
- Assembly
- AsmResolver.PE.dll
Provides members for all possible types of relocations that can be applied while loading a PE into memory.
public enum RelocationType
Fields
Absolute = 0
Indicates the relocation is ignored.
ArmMov32 = 5
Indicates the base relocation applies the 32-bit address of a symbol across a consecutive MOVW/MOVT instruction pair.
Dir64 = 10
Indicates the base relocation applies the difference to the 64-bit field at offset.
High = 1
Indicates the base relocation adds the high 16 bits of the difference to the 16-bit field at offset. The 16-bit field represents the high value of a 32-bit word.
HighAdj = 4
Indicates the base relocation adds the high 16 bits of the difference to the 16-bit field at offset. The 16-bit field represents the high value of a 32-bit word. The low 16 bits of the 32-bit value are stored in the 16-bit word that follows this base relocation. This means that this base relocation occupies two slots.
HighLow = 3
Indicates the base relocation applies all 32 bits of the difference to the 32-bit field at offset.
Low = 2
Indicates the base relocation adds the low 16 bits of the difference to the 16-bit field at offset. The 16-bit field represents the low half of a 32-bit word.
MipsJmpAddr = 5
Indicates the relocation interpretation is dependent on the machine type.
MipsJmpAddr16 = 9
Indicates the base relocation applies to a MIPS16 jump instruction.
RiscVHigh20 = 5
Indicates the base relocation applies to the high 20 bits of a 32-bit absolute address.
RiscVLow12I = 7
Indicates the base relocation applies to the low 12 bits of a 32-bit absolute address formed in RISC-V I-type instruction format.
RiscVLow12S = 8
Indicates the base relocation applies to the low 12 bits of a 32-bit absolute address formed in RISC-V S-type instruction format.
ThumbMov32 = 7
Indicates the base relocation applies the 32-bit address of a symbol to a consecutive MOVW/MOVT instruction pair.