Vector35 / Vector35/binaryninja-api
Enhance the automatic naming of string variables upon loading PDB
Nessuno ha ancora preso questa issue.
- Lingua principale
- C++
- Stelle
- 1.3k
- Fork
- 298
- Merge medio
- 5g 5h
- PR unite (30g)
- 19
Descrizione
Version and Platform (required):
- Binary Ninja Version: 3.6.4802-dev, 87e27dc3
- OS: Windows
- OS Version: 11
- CPU Architecture: x86_64
Bug Description:
When loading a binary with a PDB file, BN employs unconventional variable names for string variables. These names could be enhanced for improved readability, as the current naming often blurs the distinction between variable names and variable types, leading to confusion. Additionally, this behavior makes it more challenging to copy code from the decompiler to plain C code.
Steps To Reproduce:
- Load a binary that have a PDB file
- Examine various string variables within the BNDB
Expected Behavior:
I expect BN to give those variables more simpler names. For the example above it could be sTotalAnimals. Essentially, BN could remove any characters from the variable names except for digits and alphabet letters, resulting in clearer naming.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Reproduce the naming behavior by loading a binary with a PDB file and examining string variables in the BNDB and decompiler output. Trace the code responsible for imported PDB variable names; done means string variable names are simpler and preserve only letters and digits, such as sTotalAnimals, without harming other names.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- reverse-engineering
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100