Stack view does not determines usages of structure elements correctly

Offen
#4,075 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet

Rechercherichtung

No source file, test, or entry point is named. Start by reproducing the reported structure usage in the Stack view and comparing it with the HLIL view, focusing on dwFlags, hStdInput, hStdError, hStdOutput, and wShowWindow. Done means every structure element used in HLIL is recognized by Stack view rather than shown as unused.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Component: UI Effort: Medium Impact: High UI: Stack

Binary Ninja Version: 3.4.4090-dev Personal
Platform: Windows 11 Version 22H2

Stack view:
stack_view

HLIL:
hlil

As you can see from screenshots, even if dwFlags, hStdInput, hStdError, hStdOutput, wShowWindow did used in the HLIL, stack view does not detect them (so they are grayed out and says "Not used in current IL" on hover).

I guess it only detect the first used element in the structure. Because in other examples I can see that it only detects first used element and then left the others undetected. Probably it assumes first element of the structure is equal to structure itself in regards of referencing.

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.