wasm-micro-runtime/build-scripts
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
..
esp-idf feat(yml): Add ESP32-P4 and ESP32-C5 support (#4270) 2025-05-19 10:33:09 +08:00
build_llvm.py fix: disable unsigned integer overflow sanitization (#4785) 2026-01-22 05:40:52 -08:00
code_coverage.cmake Refactor the CMake and related scripts for unit tests (#4605) 2025-11-04 11:44:46 +08:00
config_common.cmake fuzzing: reject non-wasm files quickly and execute aot after compilation (#4780) 2026-03-09 18:24:43 -07:00
involve_boringssl.cmake Use boringssl instead of openssl to implement wasm cache loading (#1804) 2022-12-20 14:37:07 +08:00
iwasmConfig.cmake.in Cmake improvements (#4076) 2025-02-21 15:29:49 +08:00
lldb_wasm.patch Fix issues in releasing wamr-lldb (#2497) 2023-08-23 12:56:11 +08:00
package.cmake Replace CMAKE_CURRENT_FUNCTION_LIST_DIR (#4200) 2025-04-17 00:07:25 +08:00
requirements.txt build(deps): Bump requests from 2.32.4 to 2.32.5 in /build-scripts (#4580) 2025-08-27 07:16:41 +08:00
runtime_lib.cmake Turn warnings into errors in CI (#4397) 2025-09-11 06:33:04 +08:00
SConscript Support more features for rt-thread (#3661) 2024-07-26 10:34:15 +08:00
SConscript_config Support more features for rt-thread (#3661) 2024-07-26 10:34:15 +08:00
unsupported_combination.cmake fix: disable unsigned integer overflow sanitization (#4785) 2026-01-22 05:40:52 -08:00
version.cmake Bump version number to 2.4.3 (#4671) 2025-10-23 13:15:25 +08:00
warnings.cmake fix: few CI errors caused by recently enabled compilation flags (#4620) 2025-09-12 16:00:23 +08:00