rflags included in register definitions for x86

Open
#7,701 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Locate the x86 register definitions and the corresponding full-width register list, then compare the x86 entries with x86-64. Confirm the intended architecture-specific treatment of rflags and bnd0-3; done means x86 no longer includes invalid or inconsistent register entries.

Written by the indexing model from the issue text.

Description

Version and Platform (required):

  • Binary Ninja Version: 5.3.8622-dev
  • Edition: Commercial
  • OS: MacOS
  • OS Version: Tahoe 26.1
  • CPU Architecture: M2

Bug Description:
For the x86 architecture, the rflags register is included in the list of registers but is not included in the list of full width registers.

I don't believe that rflags is a valid register for x86. It only exits for x86-64. The register should be removed for the x86 architecture.

I also noticed that bnd0-3 are included in the register definitions for x86 but are not included in the full width registers.

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.