Vector35 / Vector35/binaryninja-api

UX for "Make Code" is a little under-baked

Open
#6,338 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The title is generic as these two issues can be tackled together IMO.

  1. Make code will not prompt the user to select a platform if for example you open a new file with no platform
    • Open a new file paste raw hex: 8b0df00e4200a1000f42003bc872028bc8506a6451ff1548814000c3
    • Make code (keybind is C) at 0x0
    • Observe data variable BN_CODE_start_0x0_size_0x1c

https://github.com/user-attachments/assets/500335a2-a8d6-447f-bd82-060d8748fe8f

  1. Make code does not show the opcode bytes:
Image

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 the two cases in the issue: open a new file without a platform, paste the supplied raw hex, and invoke Make Code at 0x0; then inspect the generated data variable and Make Code output. Compare the platform-selection behavior and displayed instruction information with the expected UX shown in the issue attachments. Done means both cases provide the missing platform prompt or opcode bytes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
reverse-engineering, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.