wasm-micro-runtime/core
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
..
deps Separate app-manager and app-framework from WAMR (#3129) 2024-02-20 18:12:36 +08:00
iwasm fuzzing: reject non-wasm files quickly and execute aot after compilation (#4780) 2026-03-09 18:24:43 -07:00
shared Fix mismatch of enum sizes between WASM and host (#4676) 2026-03-09 10:19:16 +08:00
config.h add micro AMR_BUILD_LIME1 to enable minimal lime1 feature set (#4571) 2025-09-14 14:08:27 +08:00
version.h Bump version number to 2.4.3 (#4671) 2025-10-23 13:15:25 +08:00
version.h.in Add version.h and update versioning documentation for embedded platforms 2025-02-05 10:31:20 +00:00