Vector35 / Vector35/binaryninja-api
Append field does not add the new field at the end of the stucture when there are empty bytes in the structure defition
Personne n'a encore pris cette issue.
- Langage dominant
- C++
- Étoiles
- 1.3k
- Forks
- 298
- Merge moyen
- 5 j 5 h
- PR mergées (30 j)
- 19
Description
Repro steps:
- Define an empty structure, set its size to 0x10
- Append a field to it
- Observe the field is added at the start of the structure, rather than at the end of it
Note this works when all of the bytes are occupied by the structure fields. It seems like that we always append the field to the next not occupied byte. Is this intended? I think we should still add it to the end of the structure
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Start with the structure field-append entry point implicated by the reproduction steps: create an empty structure of size 0x10 and append a field. Trace how unused bytes are selected, then verify that the field is placed at the end of the structure rather than at the first unoccupied byte.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- reverse-engineering
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100