Analysis does not create string data variable despite the presence of xref

Offen
#7,121 3 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
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
cpp

Rechercherichtung

Reproduce the case at 0x100644c92 and inspect the result of bv.get_string_at(0x100644c92), comparing current behavior with stable 5.0. Trace how an xref to a detected Utf16String is handled and verify whether the expected string data variable is created instead of no variable or a void variable. Done means the referenced string receives the correct data variable type without regressing existing analysis.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Component: Core Effort: Low Impact: Low

In the following screenshot, there is a string at 0x100644c92 that is HNC_THEME_CHANGED

Image

We can see there is an xref to it:

Image

The string is also correctly detected:

>>> bv.get_string_at(0x100644c92)
<Utf16String: 0x100644c92, len 0x22>

But we do not create a string data variable at it

P.S.: in stable 5.0, we create void data variables at the start of the strings, which is still not the expected behavior

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.