Vector35 / Vector35/binaryninja-api

Option to reverse opcode bytes in LinearView Disassembly

Open
#8,283 2 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

What is the feature you'd like to have?
Option to reverse opcode bytes in LinearView Disassembly

Is your feature request related to a problem?
Sometimes you need to do something with instruction bytes but backwards.

In this case I am writing a bunch of patched instructions as integers to a binary. I have definitely ran into a similar problem before.

Image

Are any alternative solutions acceptable?
A render layer could solve this I think? But it'd be cool if the builtin display had an option somewhere to do it.

Additional Information:
I love address display modes 😄

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 locating the LinearView Disassembly implementation and the existing address display modes mentioned in the request. Trace how opcode bytes are rendered, then define the option's behavior for reversing them; done means the built-in display can show reversed opcode bytes without requiring a separate render layer.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.