Enumeration member display should attempt to find minimal matching expression rather than checking if its a bitfield enumeration

Aperta
#6,754 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
cpp

Direzione di ricerca

Reproduce the behavior using the database "happy river sings easily" and inspect table entries at 0x3d7 and 0x3d9 with the enum entries present and removed as described. Trace where enumeration members are selected for display; done means each value uses the best matching expression or provides a way to resolve ambiguous entries.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Component: Core Effort: Low Impact: Low

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
Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Vector35/binaryninja-api

Tutte le issue di Vector35/binaryninja-api

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.