summaryrefslogtreecommitdiff
path: root/Meta/lint-ports.py
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-05-01 03:19:01 +0430
committerAndreas Kling <kling@serenityos.org>2021-05-17 23:25:30 +0200
commit056be42c0be2a4ac43fd50ab3c34c269f24244c9 (patch)
treec7f032c366d9c05e8677aa3deb7321f63eca63f2 /Meta/lint-ports.py
parentfaa34a0a8b99bf96b624991f4fb36ebe642c13f8 (diff)
downloadserenity-056be42c0be2a4ac43fd50ab3c34c269f24244c9.zip
LibWasm: Start implementing a naive bytecode interpreter
As the parser now flattens out the instructions and inserts synthetic nesting/structured instructions where needed, we can treat the whole thing as a simple parsed bytecode stream. This currently knows how to execute the following instructions: - unreachable - nop - local.get - local.set - {i,f}{32,64}.const - block - loop - if/else - branch / branch_if - i32_add - i32_and/or/xor - i32_ne This also extends the 'wasm' utility to optionally execute the first function in the module with optionally user-supplied arguments.
Diffstat (limited to 'Meta/lint-ports.py')
0 files changed, 0 insertions, 0 deletions