mirror of
https://github.com/LukeFZ/Il2CppInspectorRedux.git
synced 2026-03-22 00:18:18 +05:00
implement x64 elf relocations
This commit is contained in:
@@ -354,6 +354,10 @@ namespace Il2CppInspector
|
||||
|
||||
(Elf.R_AMD64_64, Elf.EM_AARCH64) => (conv.Add(symValue, addend), true), // S + A
|
||||
|
||||
(Elf.R_AMD64_64, Elf.EM_X86_64) => (conv.Add(symValue, addend), true), // S + A
|
||||
(Elf.R_X86_64_RELATIVE, Elf.EM_X86_64) => (addend, true), // S + A
|
||||
(Elf.R_X86_64_RELATIVE64, Elf.EM_X86_64) => (addend, true), // S + A
|
||||
|
||||
_ => (default(TWord), false)
|
||||
};
|
||||
|
||||
|
||||
@@ -106,6 +106,9 @@ namespace Il2CppInspector
|
||||
R_386_GLOB_DAT = 6,
|
||||
R_386_JMP_SLOT = 7,
|
||||
|
||||
R_X86_64_RELATIVE = 8,
|
||||
R_X86_64_RELATIVE64 = 38,
|
||||
|
||||
R_AMD64_64 = 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user