Releases: yamt/toywasm
Releases · yamt/toywasm
v55.0.0
Commits
- 89cc28e: Revert "ci: try installing qemu 7.0 from canonical server backports" (YAMAMOTO Takashi) #238
- disable s390x jobs #238 (YAMAMOTO Takashi)
- disable armhf #238 (YAMAMOTO Takashi)
- 9364c13: README.md: update CI status (YAMAMOTO Takashi)
- disable armhf full job as well #239 (YAMAMOTO Takashi)
- make the assertion earlier #237 (YAMAMOTO Takashi)
- 113024c: lib/mem.c: fix reservation on malloc/realloc failures (YAMAMOTO Takashi) #237
- add the --print-build-option option #240 (YAMAMOTO Takashi)
- 05d0c40: wapm.toml: bump the version (YAMAMOTO Takashi)
v53.0.0
Commits
- fix a locking botch #230 (YAMAMOTO Takashi)
- fix a null defeference on malloc failure #230 (YAMAMOTO Takashi)
- 2e5cf63: comment (YAMAMOTO Takashi) #230
- b72d248: wapm.toml: bump the version (YAMAMOTO Takashi)
v52.0.0
Commits
- 95ceebb: add weird_import_names.wat (YAMAMOTO Takashi)
- exclude a few combinations to reduce the number of jobs #221 (YAMAMOTO Takashi)
- add TOYWASM_BUILD_CLI option #220 (YAMAMOTO Takashi)
- db699a2: examples/build-toywasm-and-app.sh: do not build unnecessary things (YAMAMOTO Takashi) #220
- 7edd05d: examples/fuzz/build.sh: clean up a bit (YAMAMOTO Takashi) #220
- 7c5f2c1: fix link to raw values in
startup.md
(Robin Freyler) #219 - remove dead code #224 (YAMAMOTO Takashi)
- use wasi_fdinfo_free to free a fdinfo #224 (YAMAMOTO Takashi)
- use wasi_fdinfo_free to free a fdinfo #224 (YAMAMOTO Takashi)
- 3e3586a: make a common validation failure a bit verbose (YAMAMOTO Takashi) #226
- 83912fd: mem context: associate the shared linear memory to the instance (YAMAMOTO Takashi) #223
- use separate mem contexts for modules and instances #223 (YAMAMOTO Takashi)
- fix exit status w/o wasi #225 (YAMAMOTO Takashi)
- d1dc473: toywasm-cli-dyld-test requires wasi as well (YAMAMOTO Takashi) #227
- e9518d2: escape.c: comment (YAMAMOTO Takashi) #228
- retire unused pi->wasmpath #229 (YAMAMOTO Takashi)
- cc14197: wapm.toml: bump the version (YAMAMOTO Takashi)
v51.0.0
Commits
- test wasm2wasm example #216 (YAMAMOTO Takashi)
- b4f1644: add large_func.wat.jinja (YAMAMOTO Takashi)
- a913048: add infiniteloop_tailcall_indirect.wat (YAMAMOTO Takashi)
- 16a5468: large_func.wat.jinja: make it actually executable (YAMAMOTO Takashi)
- aea7dc7: comment (YAMAMOTO Takashi)
- fe3a348: Libfuzzer -> libFuzzer (YAMAMOTO Takashi)
- 1ef33b3: add escape.[ch] (YAMAMOTO Takashi) #217
- 4621ab5: escape import module_name and name for report_error (YAMAMOTO Takashi) #217
- 1225e58: escape import module_name and name for a trap message (YAMAMOTO Takashi) #217
- 46b2a26: escape import module_name and name for report_error (YAMAMOTO Takashi) #218
- reject names containing NULs #218 (YAMAMOTO Takashi)
- 6857344: comment (YAMAMOTO Takashi)
- d3d17aa: examples/wasm2wasm/README.md: note about TOYWASM_SORT_EXPORTS (YAMAMOTO Takashi)
- ea6330b: extract a script fragment to enable most of features from wapm/build.sh (YAMAMOTO Takashi)
- c213042: all_features.sh: remove duplicated EH (YAMAMOTO Takashi)
- 23037ac: wapm.toml: bump the version (YAMAMOTO Takashi)
v50.0.0
Commits
- 157b1a8: examples/fuzz: reduce the fuel for faster iterations (YAMAMOTO Takashi)
- 3b14875: fix an ubsan complaint (YAMAMOTO Takashi)
- 9be117c: constify host func functype (YAMAMOTO Takashi) #212
- be15ee6: add create_satisfying_functions (YAMAMOTO Takashi) #212
- add --allow-unresolved-functions option #212 (YAMAMOTO Takashi)
- fix longopt #212 (YAMAMOTO Takashi)
- 91a79fb: add nest2.wat (YAMAMOTO Takashi) #213
- 7ca64df: add prebuilt modules (YAMAMOTO Takashi) #213
- fix a NULL dereference w/o jump table #213 (YAMAMOTO Takashi)
- throw: restructure a bit #213 (YAMAMOTO Takashi)
- 281a85f: README.md: adjust the goals (YAMAMOTO Takashi) #215
- 6e6a6c6: doc/annotations.md: remove an extra "while" (YAMAMOTO Takashi) #215
- c734e17: doc/check_interrupt.md: minor tweaks (YAMAMOTO Takashi) #215
- 33cbe02: README.md: update the cli help (YAMAMOTO Takashi) #215
- add expr_end api #214 (YAMAMOTO Takashi)
- cc86218: module_writer.c: use expr_end (YAMAMOTO Takashi) #214
- use expr_end #214 (YAMAMOTO Takashi)
- 419a6c5: examples/app: use expr_end (YAMAMOTO Takashi) #214
- e00696d: introduce a separate option to control expr->end (YAMAMOTO Takashi) #214
- 435e700: add an example program to demonstrate module_writer.c (YAMAMOTO Takashi) #214
- d1bba30: examples/callgraph: use expr_end (YAMAMOTO Takashi) #214
- f808d27: wapm.toml: bump the version (YAMAMOTO Takashi)
v49.0.0
Commits
- 54a3ede: minor tweak (YAMAMOTO Takashi)
- add TOYWASM_ENABLE_COVERAGE option #204 (YAMAMOTO Takashi)
- TOYWASM_ENABLE_COVERAGE #204 (YAMAMOTO Takashi)
- 71641ba: examples/fuzz/build.sh: add commented out TOYWASM_ENABLE_COVERAGE (YAMAMOTO Takashi) #204
- 887d7ea: examples/fuzz: execute each exported function (YAMAMOTO Takashi) #205
- make the coverage options PUBLIC #205 (YAMAMOTO Takashi)
- f667ccb: examples/fuzz/run.sh: reduce rss limit (YAMAMOTO Takashi) #205
- sync the implementation limit with table_instance_create #205 (YAMAMOTO Takashi)
- comment #205 (YAMAMOTO Takashi)
- handle EINTR #205 (YAMAMOTO Takashi)
- FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION #205 (YAMAMOTO Takashi)
- 45b189d: module.c: fix cellidx related assertion failures (YAMAMOTO Takashi) #207
- print TRAP_UNCAUGHT_EXCEPTION #206 (YAMAMOTO Takashi)
- 1d860a1: fetch-spec-test.sh: bump wasm-spec-test version for EH (YAMAMOTO Takashi) #206
- 02f875a: add run-wasm3-test-exception-handling.sh (YAMAMOTO Takashi) #206
- 2d698f5: rename for consistency (YAMAMOTO Takashi) #206
- 258e88f: run-wasm3-spec-test.sh: bump wasm3 version for EH tests (YAMAMOTO Takashi) #206
- add EH tests #206 (YAMAMOTO Takashi)
- b00d2c0: repl.c: print TYPE_EXNREF result (YAMAMOTO Takashi) #206
- add a missing case for tag #206 (YAMAMOTO Takashi)
- EH tests require tail-call #206 (YAMAMOTO Takashi)
- add TOYWASM_ENABLE_HEAP_TRACKING option #209 (YAMAMOTO Takashi)
- 44c1a00: toywasm_config.h.in: add TOYWASM_ENABLE_HEAP_TRACKING (YAMAMOTO Takashi) #209
- 6c95655: toywasm_config.c.in: add TOYWASM_ENABLE_HEAP_TRACKING (YAMAMOTO Takashi) #209
- 4797447: make heap usage tracking optional on TOYWASM_ENABLE_HEAP_TRACKING (YAMAMOTO Takashi) #209
- bdcbb94: comment (YAMAMOTO Takashi)
- separate to mem_extend and mem_shrink #210 (YAMAMOTO Takashi)
- fix a macro name (YAMAMOTO Takashi)
- add TOYWASM_ENABLE_HEAP_TRACKING_PEAK option #211 (YAMAMOTO Takashi)
- 172ea60: toywasm_config.h.in: add TOYWASM_ENABLE_HEAP_TRACKING_PEAK (YAMAMOTO Takashi) #211
- 9033dd8: toywasm_config.c.in: add TOYWASM_ENABLE_HEAP_TRACKING_PEAK (YAMAMOTO Takashi) #211
- record the peak heap usage #211 (YAMAMOTO Takashi)
- 461be79: wapm.toml: bump the version (YAMAMOTO Takashi)
v48.0.0
Commits
- fix a buffer overrun #201 (YAMAMOTO Takashi)
- reject duplicated sections/subsections #203 (YAMAMOTO Takashi)
- b318431: module.c: fix assertion failures (YAMAMOTO Takashi) #203
- 5ed8292: examples/fuzz/seed.sh: sync features with the target (YAMAMOTO Takashi) #202
- b47e05d: examples/fuzz/seed.sh: ignore errors (YAMAMOTO Takashi) #202
- 749dc79: comment (YAMAMOTO Takashi) #202
- add TOYWASM_ENABLE_FUZZER option #202 (YAMAMOTO Takashi)
- 4a4f57d: examples/fuzz: use TOYWASM_ENABLE_FUZZER option (YAMAMOTO Takashi) #202
- 6ed31f4: make fuzzer build a bit more deterministic (YAMAMOTO Takashi) #202
- ba6a53e: comment (YAMAMOTO Takashi) #202
- 1e4273b: examples/fuzz/README.md (YAMAMOTO Takashi) #202
- b43dd53: wapm.toml: bump the version (YAMAMOTO Takashi)
v47.0.0
Commits
- comment (YAMAMOTO Takashi)
- make it a bit clear that the stack size option is for PIE (YAMAMOTO Takashi)
- 034d44a: add fib.wat (YAMAMOTO Takashi)
- c919d48: wat/fib.wat: add a few implementations and test (YAMAMOTO Takashi)
- d9f9751: test/fib.wat: add another implementation (YAMAMOTO Takashi)
- f8f76b7: cmake/LLVM.cmake: for CUSTOM_LLVM_HOME, set CMAKE_CXX_COMPILER as well (YAMAMOTO Takashi) #195
- 44bd538: cmake/ToywasmConfig.cmake: fix debug build with clang 11 (YAMAMOTO Takashi) #195
- c88b02c: build-toywasm-and-app.sh: do not build unit tests (YAMAMOTO Takashi) #195
- 72eb3a6: examples/fuzz: a simple fuzzer target (YAMAMOTO Takashi) #195
- ae8bc14: is_reftype/is_vectype: reject disabled types (YAMAMOTO Takashi) #195
- 907ffca: fix a few memory leaks and validation errors in the module parser (YAMAMOTO Takashi) #195
- 3f4f104: mem_context wip (YAMAMOTO Takashi) #196
- 1c42def: mem_context wip (YAMAMOTO Takashi) #196
- 7515dcb: format (YAMAMOTO Takashi) #196
- 771f295: mem_contexnt wip (YAMAMOTO Takashi) #196
- b69bdc3: typo (YAMAMOTO Takashi) #196
- TOYWASM_ENABLE_DYLD #196 (YAMAMOTO Takashi)
- 85b5b1c: mem.c: add a debug code (YAMAMOTO Takashi) #196
- 014054e: module.c: fix a mem_free with a wrong size (YAMAMOTO Takashi) #196
- adapt dyld #196 (YAMAMOTO Takashi)
- 1e941a4: lib/mem.c: include stdint.h for SIZE_MAX (YAMAMOTO Takashi) #196
- d91dda3: lib/mem.c: more debug code (YAMAMOTO Takashi) #196
- fix mem_context accounting on error #196 (YAMAMOTO Takashi)
- fix accounting on br_table failure #196 (YAMAMOTO Takashi)
- fix mem_context accounting #196 (YAMAMOTO Takashi)
- assertions and a comment #196 (YAMAMOTO Takashi)
- expose mem.h #196 (YAMAMOTO Takashi)
- 80333f1: mem.h: extern C (YAMAMOTO Takashi) #196
- d24b90d: examples/fuzz: adapt to mem_context (YAMAMOTO Takashi) #196
- 11748a0: lib/mem.c: fix reservation failure handling (YAMAMOTO Takashi) #196
- b90c6c5: module.c: fix a crash on a broken module (YAMAMOTO Takashi) #196
- c1c3cb1: examples/fuzz: limit memory consumption to 1MB (YAMAMOTO Takashi) #196
- fix an assertion #196 (YAMAMOTO Takashi)
- d20d83c: fix TOYWASM_ENABLE_WASI_LITTLEFS build after mem_context changes (YAMAMOTO Takashi) #196
- e19d1fa: name.c: add a missing mem_context_init (YAMAMOTO Takashi) #196
- fix load-hex command after mem_context changes #196 (YAMAMOTO Takashi)
- e1bac33: lib/mem.h: multiple inclusion protection (YAMAMOTO Takashi) #196
- 00ddb28: examples/app: adapt to mem_context (YAMAMOTO Takashi) #196
- a23e289: examples/runwasi: adapt to mem_context (YAMAMOTO Takashi) #196
- 15fe512: examples/hostfunc: adapt to mem_context (YAMAMOTO Takashi) #196
- 5e9c223: examples/log_execution: adapt to mem_context (YAMAMOTO Takashi) #196
- 2a96550: examples/callgraph: adapt to mem_context (YAMAMOTO Takashi) #196
- dd13fd9: module.c: adapt cellidx to mem_context (YAMAMOTO Takashi) #196
- 1a1dac2: module.c: adapt localchunks to mem_context (YAMAMOTO Takashi) #196
- aa5df62: insn_impl_control.h: fix an uninitialized use of "mctx" (YAMAMOTO Takashi) #196
- 80f6882: module.c: fix a null dereference in read_locals (YAMAMOTO Takashi) #196
- 32d16a1: adapt bitmap.h to mem_context (YAMAMOTO Takashi) #196
- move str_to_uint to a separate file #196 (YAMAMOTO Takashi)
- f1d556f: str_to_uint.c: add str_to_u32 (YAMAMOTO Takashi) #196
- replace a few atoi with str_to_u32 #196 (YAMAMOTO Takashi)
- 339f5d6: str_to_uint.c: add str_to_size (YAMAMOTO Takashi) #196
- add --max-memory option #196 (YAMAMOTO Takashi)
- b7db6eb: adapt resulttype_alloc/resulttype_free to mem_context (YAMAMOTO Takashi) #196
- 59c0209: adapt validation_context to mem_context (YAMAMOTO Takashi) #196
- f5deb58: restore datacount section handling (YAMAMOTO Takashi) #196
- c429046: mem.c: add mem_context_setlimit (YAMAMOTO Takashi) #196
- use mem_context_setlimit #196 (YAMAMOTO Takashi)
- e829ca4: repl.c: log error number (YAMAMOTO Takashi) #196
- log error number #196 (YAMAMOTO Takashi)
- fix an uninitialized var #196 (YAMAMOTO Takashi)
- make the repl mem_context a parent of others #196 (YAMAMOTO Takashi)
- clean up toywasm_repl_reset memory stats #196 (YAMAMOTO Takashi)
- c26be64: README.md: update the cli help message (YAMAMOTO Takashi)
- 369953c: insn_impl_fc.h: fix a few crashing bugs in validation (YAMAMOTO Takashi) #199
- 83ca0f6: examples/fuzz: add a script to generate seed with wasm-tools (YAMAMOTO Takashi) #200
- 72fc0d4: examples/fuzz/run.sh: pass through the arguments (YAMAMOTO Takashi) #200
- d8e5e8a: examples/fuzz/seed.sh: tweak options (YAMAMOTO Takashi) #200
- f062da6: wapm.toml: bump the version (YAMAMOTO Takashi)
v46.0.0
Commits
- 4816e51: remove a no longer necessary forward decl (YAMAMOTO Takashi) #182
- 2541bd7: update a comment (YAMAMOTO Takashi) #182
- 9f1016b: comment (YAMAMOTO Takashi) #182
- ac49583: comment (YAMAMOTO Takashi) #182
- 5a22954: comment (YAMAMOTO Takashi) #182
- b66b744: make clear_dylink static (YAMAMOTO Takashi) #182
- 2bb8e69: comment (YAMAMOTO Takashi) #182
- 168e62e: Move wasi-threads to a separate library (YAMAMOTO Takashi) #183
- 3f99b6f: host_instance.h: move a few things from wasi_impl.h (YAMAMOTO Takashi) #184
- 65d3f97: examples/hostfunc: update after host_instance.h changes (YAMAMOTO Takashi) #184
- use host_instance.h api directly, not via wasi_impl.h #184 (YAMAMOTO Takashi)
- use host_instance.h api #184 (YAMAMOTO Takashi)
- 43b2d1e: libdyld/dyld_dlfcn.c: update after host_instance.h changes (YAMAMOTO Takashi) #184
- 146cd9a: host_instance.h: fix HOST_FUNC (YAMAMOTO Takashi) #184
- 2e708a3: comment (YAMAMOTO Takashi)
- 90b3136: comment (YAMAMOTO Takashi)
- 6a5ba21: comment (YAMAMOTO Takashi)
- fdc96ae: add report_getmessage (YAMAMOTO Takashi) #185
- 56cd7af: comment (YAMAMOTO Takashi) #185
- 8b7452b: examples/runwasi: print report (YAMAMOTO Takashi) #185
- 7f23976: use report_getmessage (YAMAMOTO Takashi) #185
- 3e10cbb: don't assume no_sanitize attribute (YAMAMOTO Takashi) #186
- e2953d2: _NETBSD_SOURCE for strnlen (YAMAMOTO Takashi) #186
- 5cc2a1c: _NETBSD_SOURCE for symlink etc (YAMAMOTO Takashi) #186
- ce4f74d: _NETBSD_SOURCE for sockaddr_storage (YAMAMOTO Takashi) #186
- 84fe9dc: examples/log_execution: add an example to use binaryen log-execution (YAMAMOTO Takashi) #187
- 25963bf: examples/log_execution: fix an executable name in an example (YAMAMOTO Takashi) #187
- 3f94ddd: examples/log_execution: mention binaryen version (YAMAMOTO Takashi) #187
- ac8a520: examples/log_execution: doc (YAMAMOTO Takashi) #187
- print pc #188 (YAMAMOTO Takashi)
- d45a1bc: For TOYWASM_USE_SEPARATE_EXECUTE, update ctx->p on failure as well (YAMAMOTO Takashi) #188
- 8509586: comment (YAMAMOTO Takashi) #188
- d3c52e7: add a simple expr parser api (YAMAMOTO Takashi) #189
- b29b295: examples/build-toywasm-and-app.sh: separate options for lib and app (YAMAMOTO Takashi) #189
- export leb128.h #189 (YAMAMOTO Takashi)
- 9b6af86: add another example, examples/callgraph (YAMAMOTO Takashi) #189
- 89acf74: examples/callgraph: an example output (YAMAMOTO Takashi) #189
- d37558a: examples/callgraph: a usage example (YAMAMOTO Takashi) #189
- ee811ef: examples/callgraph: fix a copy-and-paste error in an example (YAMAMOTO Takashi) #189
- 7b437cd: examples/callgraph: comment (YAMAMOTO Takashi) #189
- test examples/callgraph #189 (YAMAMOTO Takashi)
- a16a30a: examples/callgraph: add the start function (YAMAMOTO Takashi) #189
- 1d0221e: Add an API to convert functype to the string representation (YAMAMOTO Takashi) #190
- f2366ee: Add unit test for functype_to_string (YAMAMOTO Takashi) #190
- 887db85: Make resulttype_to_string static (YAMAMOTO Takashi) #190
- e76f408: examples/app: improve error reporting a bit (YAMAMOTO Takashi)
- 719f5d6: examples/callgraph: correlate indirect callers and callees via type (YAMAMOTO Takashi) #191
- 7e07099: regen (YAMAMOTO Takashi) #191
- bedb3be: examples/callgraph: dump a json object instead of generating dot language (YAMAMOTO Takashi) #192
- 23e3244: examples/callgraph: Add a python script to convert the json to the dot language (YAMAMOTO Takashi) #192
- 3dd5f33: examples/callgraph: update usage example (YAMAMOTO Takashi) #192
- d90ec26: examples/callgraph: regen hello.svg (YAMAMOTO Takashi) #192
- 53cc049: examples/callgraph: update the description and comments (YAMAMOTO Takashi) #192
- install jansson where necessary #192 (YAMAMOTO Takashi)
- 1aa53df: examples/callgraph: make asan leak detector happier (YAMAMOTO Takashi) #192
- a332464: examples/callgraph: print expression sizes (YAMAMOTO Takashi) #192
- 9db7211: examples/callgraph: implement tail call instructions (YAMAMOTO Takashi) #193
- c71c237: examples/callgraph: enable tail call (YAMAMOTO Takashi) #193
- cbd6c5c: examples/callgraph: use a prefix different from jansson (YAMAMOTO Takashi) #194
- a6f594a: examples/callgraph: add a few error checks (YAMAMOTO Takashi) #194
- 7c60b04: wapm.toml: bump the version (YAMAMOTO Takashi)
v45.0.0
Continuous Integration
- enable TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES for "full" assets #181 (YAMAMOTO Takashi)
Commits
- tries to fix cross jobs #178 (YAMAMOTO Takashi)
- 9ee6ec8: wrap xlog_tracing with an ifdef (YAMAMOTO Takashi) #177
- cbcf721: Clean up page size related logic (YAMAMOTO Takashi) #179
- 923bd70: Remove an artificial limit on table sizes (YAMAMOTO Takashi) #180
- add TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES option #181 (YAMAMOTO Takashi)
- ea2ab10: toywasm_config.h.in: add TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES (YAMAMOTO Takashi) #181
- fbc501a: toywasm_config.c.in: add TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES (YAMAMOTO Takashi) #181
- 34f42d8: custom-page-sizes: parse page shift (YAMAMOTO Takashi) #181
- 27853ce: custom-page-sizes: adapt memtype_page_shift (YAMAMOTO Takashi) #181
- 8cd3603: custom-page-sizes: make dyld initialize memtype with the default page size (YAMAMOTO Takashi) #181
- add an extra overflow check for custom-page-sizes #181 (YAMAMOTO Takashi)
- check page sizes for custom-page-sizes #181 (YAMAMOTO Takashi)
- 8aac18d: custom-page-sizes: Print page size when dumping instance memory stats (YAMAMOTO Takashi) #181
- 892d378: custom-page-sizes: Print page size in trap message (YAMAMOTO Takashi) #181
- 59b70a9: custom-page-sizes: adapt module writer (YAMAMOTO Takashi) #181
- 6d78d7b: wapm/build.sh: enable TOYWASM_ENABLE_WASM_CUSTOM_PAGE_SIZES (YAMAMOTO Takashi) #181
- db496ae: custom-page-sizes: a few test wat (YAMAMOTO Takashi) #181
- b7dd7f7: comment (YAMAMOTO Takashi) #181
- a436278: README.md: mention custom-page-sizes (YAMAMOTO Takashi) #181
- 2a6b7f0: fix an assertion (YAMAMOTO Takashi) #181
- 9f77f35: wapm.toml: bump the version (YAMAMOTO Takashi)