i'm using the following to generate a wasm module.
dd if=/dev/urandom bs=10240 count=100 2> /dev/null | wasm-tools smith \
--max-imports=0 \
--ensure-termination \
--fuel=100 \
--maybe-invalid \
--reference-types-enabled=true \
--simd-enabled=true \
-o test.wasm
my expectation was that with --ensure-termination, it doesn't generate infinite loops.
however, it sometimes does.
i will attach a sample of a generated file, which loops infinitely.
test.zip
it's with wasm-tools 1.0.55.