Low discoverability of both get_mlil_var_refs and get_hlil_var_refs

Aperta
#3,318 1 commento 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
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Start by locating get_mlil_var_refs and get_hlil_var_refs in the Binary Ninja API and inspect how their function arguments distinguish MLIL from HLIL. Add the discoverable get_var_refs entry point with the stated dispatch behavior, then verify that both existing paths remain reachable and documented.

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

Descrizione

Effort: Trivial Impact: Low

The two methods to get xrefs to variables are hard to figure out by the user. One user reached out to ask how he can get all xrefs to a variable. He said he browsed the API docs for a while and cannot find a clue. I -- the author of this code -- cannot remember the name and had to eventually read our code to figure out the name of the two functions. It is kinda problematic to be that hard to find out.

We should consider making a get_var_refs that is better to discover. It should check whether the incoming function is a HLIL function or not, and decide to use the underlying get_mlil_var_refs or get_hlil_var_refs accordingly.

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.