Vector35 / Vector35/binaryninja-api

Instructions with absolute memory address fail to assemble on mips and aarch64

Open
#71 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Assemblers Effort: Medium Impact: Low
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

This is due to clang assembler not supporting a "nasm" like "org" directive. Fix will involve a patched version of clang.

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 by reproducing assembly of instructions with absolute memory addresses on mips and aarch64 using the clang assembler, then compare the behavior with nasm's org directive. The issue identifies no repository files or tests; done means the affected instructions assemble successfully with the required clang support.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, reverse-engineering
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.