Skip to content

Improve Flag Enum Display #6754

Open
Open
@utkonos

Description

@utkonos

Version and Platform (required):

  • Binary Ninja Version: 5.0.7290
  • OS: macOS
  • OS Version: 15.4.1
  • CPU Architecture: x64

Bug Description:
If an enum is applied to a list and there are some ambiguous entries, there isn't a way to determine which enum entry should be displayed.

Steps To Reproduce:

  1. Open database: "happy river sings easily"
  2. Go to table entry at 0x3d7 and 0x3d9
  3. Notice how these are not displayed ideally.
  4. Remove C_NONE and all the 0xf entries from the enum.
  5. Notice how some are displayed better, but there are still problems.

Expected Behavior:
The best display would be picked for each one. Or at least some way for me to help it figure out which to display.

Screenshots/Video Recording:

Image

vs

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions