Pseudo-C rendering misses the structure name if there is an access to offset 0x0 and there is no structure member there

Abierto
#6,495 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
cpp

Línea de trabajo

Start with the attached executable and the reproduction steps at address 140002ed9, then inspect the pseudo-C rendering after creating the structure. Confirm that the first variable disappears when offset 0x0 has no structure member; done means the structure name and variable are both shown.

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

Descripción

Effort: Low Impact: Low LanguageRep: Pseudo-C

Version and Platform (required):

  • Binary Ninja Version: 4.2.6455 (02c8da1e)
  • OS: Windows 10
  • OS Version: 22H2 OS build 19045.5371
  • CPU Architecture: x64

Bug Description:
When creating a structure, the variable is now "not showing in the UI" (see the image)

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. I have a small video clip showing how to reproduce the bug here: https://mega.nz/file/h7QSlYZC#cVSzuCzussiO6dZxW-27f7q5GidEVXniy_hr-ElIZO0
  2. Open the .EXE have attached
  3. Goto address 140002ed9
  4. Right click and pick "Create Structure"
  5. Click "Create"
  6. See that the first variable is gone.

Expected Behavior:
The variable to be shown

Screenshots/Video Recording:

Image

Binary:
Binary can be found here: https://mega.nz/file/ZzI2XDwT#r1C7MJIufDZoyAd-ePJbjaSIsiMLf5_zvIsDfYRT-a0
Password: malware
(I could not use your upload portal, it just say "unauthorized" when I tried to upload the file)

Additional Information:
Nothing I can think of right now

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.