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

Abierto
#2,806 0 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
cpp

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C++
Estrellas
1.3k
Forks
298
Merge medio
5 d 5 h
PR fusionados (30 d)
19

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Vector35/binaryninja-api

Todos los issues de Vector35/binaryninja-api

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.