wasm-micro-runtime/core/iwasm/libraries
liang.he 9e4aa9c850
fuzzing: reject non-wasm files quickly and execute aot after compilation (#4780)
* fix: disable unsigned integer overflow sanitization in build configurations

FYI: from https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html

`-fsanitize=unsigned-integer-overflow`: Unsigned integer overflow, where the result of an unsigned integer computation cannot be represented in its type. Unlike signed integer overflow, this is not undefined behavior, but it is often unintentional. This sanitizer does not check for lossy implicit conversions performed before such a computation.

It brings a more common question: which is better, pre-additional-check or post-additional-check to fix a potential unsigned integer overflow? A pre-additional-check involves using a check to prevent integer overflow from the very beginning. A post-additional-check involves using a check after addition to see if there is an overflow.

In this project, post-additional-checking is widely used. let's follow the routine.

for performance sensitive logic, use __builtin_add_overflow etc. provide something like 9a5622791e/lib/platform.h (L176-L191) and encourage the use of them.

ref. https://github.com/bytecodealliance/wasm-micro-runtime/pull/4549#issuecomment-3218687294

* fix: update AOT compiler configuration and enhance error handling in fuzz tests
2026-03-09 18:24:43 -07:00
..
debug-engine send an empty/error reply from server (#4362) 2025-06-17 13:00:58 +08:00
lib-pthread Pass InstantiationArgs2 down to aot_instantiate/wasm_instantiate (#4594) 2025-10-23 15:57:50 +08:00
lib-rats Keep fix the CMake compatibility issue (#4180) 2025-04-15 12:51:19 +08:00
lib-socket wasi_socket_ext.c: fix a typo in a comment (#4552) 2025-08-13 08:14:58 +08:00
lib-wasi-threads clean(zephyr): reduce warnings on zephyr platform (#4860) 2026-03-05 08:58:04 +08:00
libc-builtin fix double promotion warning (#4731) 2025-11-28 11:06:43 +08:00
libc-emcc Correct some error handling path in libc_emcc (#4803) 2026-01-26 17:15:26 +08:00
libc-uvwasi Bump uvwasi to latest commit #392e1f1 (#4312) 2025-06-03 13:21:17 +08:00
libc-wasi fuzzing: reject non-wasm files quickly and execute aot after compilation (#4780) 2026-03-09 18:24:43 -07:00
shared-heap Implement shared heap for AOT (#3815) 2024-09-29 12:50:59 +08:00
simde Keep fix the CMake compatibility issue (#4180) 2025-04-15 12:51:19 +08:00
thread-mgr Pass InstantiationArgs2 down to aot_instantiate/wasm_instantiate (#4594) 2025-10-23 15:57:50 +08:00
wasi-nn Add bounds checking for output tensor buffer in wasi-nn llama.cpp (#4847) 2026-03-02 14:52:16 -08:00