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

Offen
#6,879 6 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@rssor arbeitet bereits daran.

Seit 09.2.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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

Vorherrschende Sprache
C++
Sterne
1.3k
Forks
298
Ø Merge
5 T. 5 Std.
Gemergte PRs (30 T.)
19

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Vector35/binaryninja-api

Alle Issues in Vector35/binaryninja-api

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.