Vector35 / Vector35/binaryninja-api

[Arm64ElfReloc] Unsupported ELF relocation type: R_AARCH64_IRELATIVE

Open
#8,512 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 6.1.10588-dev Personal, fdddf612
  • OS: fedora-asahi-remix
  • OS Version: 44
  • CPU Architecture: arm64

Bug Description:

Binary Ninja doesn't support the R_AARCH64_IRELATIVE relocations

Related to #1409, and support for it was added in IDA 8.1.221006

Steps To Reproduce:

  • Open the attached binary
  • Notice the [Arm64ElfReloc] Unsupported ELF relocation type: R_AARCH64_IRELATIVE warning

Expected Behavior:

R_AARCH64_IRELATIVE relocations are supported

Binary:

test_read_dynamic.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Arm64ElfReloc handling reported in the issue and use the attached test_read_dynamic binary to reproduce the warning. Trace how R_AARCH64_IRELATIVE is handled alongside other ELF relocation types, then verify in Binary Ninja that opening the binary no longer reports it as unsupported and that the relocation is supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
reverse-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.