Expand long opcode option corrupts align of instructions

Open
#3,711 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp

Research direction

Reproduce the issue in Binary Ninja 3.2.3895-dev on Windows 11 x64 using the screenshots as the comparison, toggling “Expand long opcode.” Trace the disassembly instruction-layout or alignment path reached by that option. Done means instruction alignment remains correct when the option is enabled, including in more complex examples.

Written by the indexing model from the issue text.

Description

Component: UI Effort: Trivial Impact: Low
  • Binary Ninja Version: 3.2.3895-dev
  • OS: Windows 11, x64

Bug Description:
Expand long opcode option corrupts aligin of instructions. In the example below it may not be too annoying, but in more complex examples it can be quite annoying.

Screenshots:
"Expand long opcode" disabled:
good

"Expand long opcode" enabled:
bad

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

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 Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.