assembling compressed RISC-V broken

Aperta
#8,709 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
1.3k
Fork
304
Merge medio
2g 20h
PR unite (30g)
10

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Vector35/binaryninja-api

Tutte le issue di Vector35/binaryninja-api

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.