Changing a name shouldn't cause a whole function re-analysis

Aperta
#2,806 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Start by tracing how variable and struct-field renames from the HLIL view trigger function analysis and how the updated decompilation output is produced. Compare the current full-function reanalysis path with a name-only substitution approach; done means renaming a name updates the displayed output without reanalyzing the entire function, including for large functions.

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

Descrizione

Component: Core Effort: Medium Impact: Medium

Is your feature request related to a problem?
In Binary Ninja 2.5.3127-dev, If I rename a variable or struct field from within the HLIL view, it reanalyzes the entire function I'm looking at in order to display the new name. For large functions this can be rather slow.
What is the feature you'd like to have?
Since a name change is guaranteed to have a shallow effect on the decompilation output, Binary Ninja should just substitute the name in the output rather than redoing everything.
Are any alternative solutions acceptable?
Hypothetically, it would be even better to have a full-fledged incremental decompilation feature that can account for type changes and other semantic changes without reanalyzing the whole function. But that would probably be orders of magnitude harder to implement.

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.