Typedef of enumeration does not show references

Aperta
#4,076 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Reproduce the issue in Binary Ninja using the enum and typedef declarations shown, then compare references when the enum is used directly versus through my_enum. Trace the type-view reference handling for both names. Done means references are visible for the typedef-based enum in the types view.

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

Descrizione

Component: UI Effort: Low Impact: Medium UI: Cross References UI: Types

Binary Ninja Version: 3.4.4090-dev
Platform: Windows 11 Version 22H2

Let's say I have a enumeration like this:

enum _my_enum {
    a = 1,
    b = 2,
    c = 3
}

If I use this enumeration in decompilation as _my_enum directly, then I can see the references of it in types view when I click on _my_enum. But if I create a new type like typedef enum _my_enum my_enum then using the newly created my_enum in decompilation (I do this in order to get rid of enum keyword), I can not see the references by clicking on _my_enum or my_enum in types view.

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.