Add APIs for introspection of imports
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- c, javascript, typescript, wasm
Direzione di ricerca
Inizia ispezionando le API C e JS/TS rivolte verso l’esterno che attualmente enumerano gli export, quindi confronta il modo in cui sono rappresentate le funzioni importate, le tabelle, le memorie e gli altri oggetti. Il lavoro è completato quando i chiamanti possono eseguire direttamente l’introspezione degli import, determinare se la memoria è importata e i metadati aggiuntivi tracciati nell’issue 3573 sono inclusi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
As of right now, the current outward facing API (C, JS/TS, etc) allows you to enumerate all exports in a WASM module. These can be further introspected to get more specific info about that export.
However, there is no affordance for this on imports. This means the only real option is to enumerate all functions and see if each function is an import, enumerate all tables, etc. This is less than ideal.
In addition, for some reason there doesn't appear to be any way to determine whether memory is imported or not through the exposed APIs. There is also some additional metadata that would be useful on a few different object types that you can't get through the exposed APIs, which is tracked here: https://github.com/WebAssembly/binaryen/issues/3573. There a PR that was opened for that a while back but it looks like work on it stalled out before being merged.
- Lingua principale
- WebAssembly
- Stelle
- 8.6k
- Fork
- 885
- Merge medio
- 2g 4h
- PR unite (30g)
- 77
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.
Altre issue di WebAssembly/binaryen
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
WebAssembly/binaryen#9135 · 1 commento ·
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 76/100
WebAssembly/binaryen#9018 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
WebAssembly/binaryen#9133 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
WebAssembly/binaryen#9123 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WebAssembly/binaryen#9122 ·
Tutte le issue di WebAssembly/binaryen
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
canonical/paas-charm#368 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
area:workflow bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fil-donadoni/tolaria#4409 ·
-
status/awaiting_triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100