abrown opened issue #3140:
@alexcrichton suggested moving to use
log_wasm
to output the contents of fuzzed WebAssembly modules instead of printing them to stdout orlog::debug
as is done currently. There are some advantages to doing this, mainly it is very convenient to run the Wasm file inwasmtime
directly or upload it somewhere. Any opinions on this, @fitzgen? If we all agree then I will do this refactoring after #3124 is resolved.
fitzgen commented on issue #3140:
I would only add that this should only be done when debug logging is enabled, so that we aren't doing a bunch of file I/O on every iteration by default.
abrown commented on issue #3140:
Yeah, that's a good point. I also saw a few cases in there where we log when something goes wrong--should we do both?
fitzgen commented on issue #3140:
Yeah, we just want to make sure not to do any file I/O on the typical, error-free paths.
abrown closed issue #3140:
@alexcrichton suggested moving to use
log_wasm
to output the contents of fuzzed WebAssembly modules instead of printing them to stdout orlog::debug
as is done currently. There are some advantages to doing this, mainly it is very convenient to run the Wasm file inwasmtime
directly or upload it somewhere. Any opinions on this, @fitzgen? If we all agree then I will do this refactoring after #3124 is resolved.
Last updated: Nov 22 2024 at 17:03 UTC