diff options
| author | kat <kat@vector35.com> | 2025-03-12 18:55:20 -0400 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2025-03-19 15:04:23 -0400 |
| commit | 7ea8a2893cf303ad55457aa9ff3d5cd3907a89b0 (patch) | |
| tree | 306e85690387e59bacb4c1bda7ce51112cd918c9 | |
| parent | 7f3f394c8bb50c987a5237bc74aa503486571058 (diff) | |
Register relocation handlers for KCView type
| -rw-r--r-- | arch/arm64/arch_arm64.cpp | 1 | ||||
| -rw-r--r-- | arch/x86/arch_x86.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/arch_arm64.cpp b/arch/arm64/arch_arm64.cpp index 4931ca6d..980febff 100644 --- a/arch/arm64/arch_arm64.cpp +++ b/arch/arm64/arch_arm64.cpp @@ -3616,6 +3616,7 @@ extern "C" // Register ARM64 Relocation handlers arm64->RegisterRelocationHandler("Mach-O", new Arm64MachoRelocationHandler()); + arm64->RegisterRelocationHandler("KCView", new Arm64MachoRelocationHandler()); arm64->RegisterRelocationHandler("ELF", new Arm64ElfRelocationHandler()); arm64->RegisterRelocationHandler("PE", new Arm64PeRelocationHandler()); arm64->RegisterRelocationHandler("COFF", new Arm64COFFRelocationHandler()); diff --git a/arch/x86/arch_x86.cpp b/arch/x86/arch_x86.cpp index 8c446972..1e6044ea 100644 --- a/arch/x86/arch_x86.cpp +++ b/arch/x86/arch_x86.cpp @@ -4851,6 +4851,7 @@ extern "C" x86->RegisterCallingConvention(conv); x86->RegisterRelocationHandler("Mach-O", new x86MachoRelocationHandler()); + x86->RegisterRelocationHandler("KCView", new x86MachoRelocationHandler()); x86->RegisterRelocationHandler("ELF", new x86ElfRelocationHandler()); x86->RegisterRelocationHandler("COFF", new CoffRelocationHandler()); x86->RegisterRelocationHandler("PE", new PeRelocationHandler()); @@ -4867,6 +4868,7 @@ extern "C" x64->RegisterCallingConvention(conv); x64->RegisterRelocationHandler("Mach-O", new x64MachoRelocationHandler()); + x64->RegisterRelocationHandler("KCView", new x64MachoRelocationHandler()); x64->RegisterRelocationHandler("ELF", new x64ElfRelocationHandler()); x64->RegisterRelocationHandler("COFF", new CoffRelocationHandler()); x64->RegisterRelocationHandler("PE", new PeRelocationHandler()); |
