assembling compressed RISC-V broken

Offen
#8,709 1 Kommentar 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 tracing the edit-and-assemble flow for compressed RISC-V instructions and the assembly APIs that receive instruction information. The issue says the disassembler treats compressed instructions as identical to expanded forms, while the APIs have no way to pass compression information. Done means editing and re-assembling preserves compressed instructions without overwriting another instruction; the issue names no files or tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

because we disassemble compressed RISC-V instructions identical to the expanded forms, pressing e to edit and then re-assembling can break the code by overwriting another instructions.

Not sure whether the fix is some other syntax or not -- it is possible to manually specify whether it should be compressed during the assembly process but the problem is that we don't have a mechanism now in the assemble APIs to pass that info through since it's not a different arch.

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.