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

Ouverte
#6,879 6 commentaires 0 réactions 1 personne assignée Voir sur GitHub

@rssor y travaille déjà.

Depuis le 9/2/2026.

Évaluation

Cette issue n'a pas encore été évaluée.

Description

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

Langage dominant
C++
Étoiles
1.3k
Forks
298
Merge moyen
5 j 5 h
PR mergées (30 j)
19

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Vector35/binaryninja-api

Toutes les issues de Vector35/binaryninja-api

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.