[fuzzing] execute every exported function (#3959)
- Enhance wasm mutator fuzz tests by adding export function execution and random value generation - Use --fuel to limit loop size - Use predefined values and enhance argument logging in execution
This commit is contained in:
@ -41,7 +41,9 @@ function try_generate_wasm()
|
||||
printf -- "-- output ${GENERATED_WASM_NAME} in %d retries\n" $try_i
|
||||
}
|
||||
|
||||
WASM_SHAPE=" --allow-invalid-funcs true \
|
||||
WASM_SHAPE=" --ensure-termination \
|
||||
--export-everything true \
|
||||
--fuel 7 \
|
||||
--generate-custom-sections true \
|
||||
--min-funcs 5 \
|
||||
--max-instructions 1024 \
|
||||
|
||||
Reference in New Issue
Block a user