Analysis never converges for a specific function

Offen
#8,641 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp

Rechercherichtung

Start by reproducing the issue with the binary grey mask implements earnestly, then inspect analysis of the function at 0x009c0730 and compare its repeated states. The issue points to earlier pure-virtual vtable handling and commit fd19e8db514b468806caab7bde888df1317ad4aa as context. Done means identifying and fixing the remaining update-limit oscillation so forced analysis completes.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Version and Platform (required):

  • Binary Ninja Version: 6.1.10853-dev Ultimate, 2f5af57a
  • OS: macos
  • OS Version: 27.0.1
  • CPU Architecture: arm64

Bug Description:
In https://github.com/Vector35/binaryninja-api/issues/8638, a user saw analysis never complete when working with a specific binary. This was a result of forcing analysis on a handful of functions that had hit analysis update limits.

Most of the functions that hit the update count limit were due to a problem with how pure virtual functions were handled in recovered vtables. This was fixed on dev a few weeks ago by https://github.com/Vector35/binaryninja-api/commit/fd19e8db514b468806caab7bde888df1317ad4aa.

There is one remaining function in the binary that still hits the update count limit on current dev, which is the function at 0x009c0730. I have not looked into what is causing it to update repeatedly. It appears to oscillate between a couple of different states.

Steps To Reproduce:

  1. Open the binary from grey mask implements earnestly.
  2. Wait for analysis to complete.
  3. Go to 0x009c0730 and note that it is marked as skipped due to hitting the update count limit.
  4. Force analysis on 0x009c0730.

Expected Behavior:
Analysis completes.

Instead, the function appears to oscillate between a couple of different states.

Binary:
grey mask implements earnestly

Additional information:
The behavior for the function in question is the same in 6.0 stable.

Vorherrschende Sprache
C++
Sterne
1.3k
Forks
304
Ø Merge
2 T. 20 Std.
Gemergte PRs (30 T.)
10

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

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.