mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibWasm: Start implementing a basic WebAssembly binary format parser
This can currently parse a really simple module. Note that it cannot parse the DataCount section, and it's still missing almost all of the instructions. This commit also adds a 'wasm' test utility that tries to parse a given webassembly binary file. It currently does nothing but exit when the parse fails, but it's a start :^)
This commit is contained in:
parent
56a6d7924e
commit
aa4d8d26b9
Notes:
sideshowbarker
2024-07-18 18:29:21 +09:00
Author: https://github.com/alimpfard
Commit: aa4d8d26b9
Pull-request: https://github.com/SerenityOS/serenity/pull/6881
Reviewed-by: https://github.com/ADKaster
10 changed files with 1991 additions and 0 deletions
|
@ -175,6 +175,7 @@ set(RSA_PARSE_DEBUG ON)
|
|||
set(LINE_EDITOR_DEBUG ON)
|
||||
set(LANGUAGE_SERVER_DEBUG ON)
|
||||
set(GL_DEBUG ON)
|
||||
set(WASM_BINPARSER_DEBUG ON)
|
||||
|
||||
# False positive: DEBUG is a flag but it works differently.
|
||||
# set(DEBUG ON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue