mirror of
https://github.com/RGBCube/serenity
synced 2025-10-16 10:52:06 +00:00

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 :^)
6 lines
108 B
CMake
6 lines
108 B
CMake
set(SOURCES
|
|
Parser/Parser.cpp
|
|
)
|
|
|
|
serenity_lib(LibWasm wasm)
|
|
target_link_libraries(LibWasm LibC LibCore)
|