ARM64 Relocations support

Open
#1,319 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start in elf.py at lkm_dynlinker and inspect how relocation handling is organized for the architectures already supported. Determine the ARM64 relocation cases needed for loading ELF files, then verify that an ARM64 ELF with relocations loads successfully through Qiling.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
arm64 relocations are not supported. so even though Qiling supports the cpu, it is not possible to load an ELF with relocations.

Describe the solution you'd like
probably add handling of ARM64 relocations to function lkm_dynlinker in elf.py

Dominant language
Python
Stars
6.1k
Forks
798
Avg merge
1d 1h
Merged PRs (30d)
9

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.

More from qilingframework/qiling

All issues in qilingframework/qiling

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.