Vector35 / Vector35/binaryninja-api
Option for hiding `enum`, `struct` and `union` keywords in decompilation
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C++
- Estrellas
- 1.3k
- Forks
- 298
- Merge medio
- 5 d 5 h
- PR fusionados (30 d)
- 19
Descripción
Suppose I've this structure in a bndb:
struct std_string __packed
{
char s[0x10];
int32_t size;
int32_t max_size;
};
When I use this structure, I see it like this in decompiler:
struct std_string test
or like this in function prototypes:
void __stdcall set_str(struct std_string* dst, struct std_string* src)
Most of the time I find that struct keyword unnecessary. Of course this is some kind of personal preference, but it also have some advantages I guess. Is it possible to add an option for hiding that kind of keywords? I think hiding enum, uniıon and struct would be enough.
Currently I can get rid of it by creating a new typedef for that structure, but it takes time.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
No file, test, or entry point is named in the issue. Start with the decompiler output examples and determine where formatting options for enum, struct, and union keywords are handled; done means those keywords can be hidden in declarations and function prototypes while the existing structure remains usable.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp
- Área
- reverse-engineering
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100