Vector35 / Vector35/binaryninja-api

main function identification does not always jump to main function

Aperta
#4,974 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Component: UI Effort: Low Impact: Low
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.4799-dev, 8197e491
  • OS: windows
  • OS Version: 10
  • CPU Architecture: x86_64

Bug Description:
I noticed that main function identification does not always jump to the main function. I can see from the logs that it found the main function, but does not navigates to it.

Steps To Reproduce:

  1. Load a x64 windows binary (I did not test other platforms)
  2. Make sure it finds the main function from the logs
  3. If it navigates to main function, reopen same binary until you trigger the issue

If this is not enough for reproducing the issue, I can share my binary.

Expected Behavior:
I expect BN to always navigate to the main function if it finds it.

Screenshots:
In the first log entry, it navigated to the main function that it found but in second entry it stayed on _start function.
image

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Start by reproducing the issue with an x64 Windows binary, reopening it until main-function identification succeeds but navigation remains at _start. Compare the logs and navigation state for successful and failed runs. Done means the interface consistently navigates to the identified main function whenever detection succeeds.

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.