Improve diagnostics for Asyncify buffer overflow
Nessuno ha ancora preso questa issue.
- Lingua principale
- Ruby
- Stelle
- 875
- Fork
- 68
- Merge medio
- 9g 5h
- PR unite (30g)
- 1
Descrizione
Currently, it just says RuntimeError: unreachable but it doesn't say it's caused by Asyncify at all.
We can determine the RuntimeError is caused by Asyncify or not by checking the asyncify buffer struct { start: i32, end: i32 } and the start pointer exceeds end pointer or not.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Non è indicato alcun file o test. Inizia individuando la struct del buffer Asyncify e la gestione che attualmente produce RuntimeError: unreachable; verifica che la diagnostica identifichi un overflow del buffer Asyncify quando start supera end e non etichetti erroneamente altri RuntimeErrors.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ruby, wasm
- Ambito
- tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100