Pointer offset not utilised for getting call type of called function pointer field in struct

Aperta
#6,879 6 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@rssor ci sta già lavorando.

Dal 9/2/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

State: Awaiting Triage

Version and Platform (required):

  • Binary Ninja Version: 5.1.7360-dev (would guess still happens on 5.1.7501-dev)
  • OS: macOS
  • OS Version: 15.5 (24F74)
  • CPU Architecture: M3

Bug Description:
The pointer offset is not utilised when getting call type of the called function pointer field in a struct. This results in the analyser discovering the wrong call type (the one at the field minus the pointer offset).

Steps To Reproduce:
Define a function pointer field that's called inside the code of the executable inside a structure with a pointer offset. Observe then how the function pointer type of the call will be the type of the field that's [pointer offset] bytes before the intended field.

Expected Behavior:
The call type should be the correct one.

Screenshots/Video Recording:

Image

Image

Image

Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

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.

Altre issue di Vector35/binaryninja-api

Tutte le issue di Vector35/binaryninja-api

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.