Clean up anonymous type names in type libraries

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

Rechercherichtung

Start in the type library generation path that uses the clang type parser, and trace how anonymous types receive names. Done means generated platform and other type libraries no longer expose conflicting anonymous_XX names, using relevant names or a namespace; the issue does not identify specific files or tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Component: Type Libraries

Version and Platform (required):

  • Binary Ninja Version: 5.3.something

Bug Description:
Various type libraries have types named anonymous_XX for XX in the range of 0 to like 2800. Windows platform types have types named anonymous_XX for XX in the range 0 to 81. These types are artifacts of using the clang type parser to parse headers to generate type libraries and platform types, and their names can (and likely do) conflict with other type libraries generated in a similar manner. We should update the type library generation to rename these types, ideally to something relevant, but at least to namespace them so they won't conflict.

CC #7587

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.